Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
free the callback list on gras_process_exit
[simgrid.git] / src / gras / Msg / msg_interface.h
index c04cb16..390a345 100644 (file)
@@ -22,6 +22,7 @@ typedef struct {
   gras_socket_t  *expeditor;
   gras_msgtype_t *type;
   void           *payload;
+  int             payload_size;
 } gras_msg_t;
 
 gras_error_t gras_msg_send_namev(gras_socket_t *sock, 
@@ -31,5 +32,5 @@ gras_error_t gras_msg_send_namev(gras_socket_t *sock,
 #define GRAS_PROTOCOL_VERSION '\0';
 
 typedef struct s_gras_cblist gras_cblist_t;
-
+void gras_cbl_free(void *); /* virtu use that to free the memory at the end */
 #endif  /* GRAS_MSG_INTERFACE_H */