X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a7729514e277aabe9422a2626541f889ad1af08b..ebbe47974d28ad50f4dc76d0b70ec577082e8230:/src/gras/Virtu/virtu_interface.h diff --git a/src/gras/Virtu/virtu_interface.h b/src/gras/Virtu/virtu_interface.h index f4fd3f9e61..f15a714bac 100644 --- a/src/gras/Virtu/virtu_interface.h +++ b/src/gras/Virtu/virtu_interface.h @@ -19,8 +19,7 @@ * Data for each process */ typedef struct { - /* queue of messages which where received but not wanted in msgWait, and therefore - temporarly queued until the next msgHandle */ + /*queue of msgs storing the ones got while msg_wait'ing for something else */ gras_dynar_t *msg_queue; /* elm type: gras_msg_t */ /* registered callbacks for each message */ @@ -29,12 +28,17 @@ typedef struct { /* The channel we are listening to in SG for formated messages */ int chan; + gras_socket_t *sock; /* the corresponding socket (SG only) */ + /* The channel we are listening to in SG for raw send/recv */ int rawChan; + gras_socket_t *rawSock;/* the corresponding socket (SG only) */ /* globals of the process */ void *userdata; -} gras_process_data_t; - +} gras_procdata_t; +/* FIXME: mv to _private? */ +gras_procdata_t *gras_procdata_get(void); +gras_error_t gras_procdata_init(void); #endif /* GRAS_VIRTU_INTERFACE_H */