A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let it work with new flex (just add the needed prototypes for the new functions)
[simgrid.git]
/
include
/
messages.h
diff --git
a/include/messages.h
b/include/messages.h
index
9f62356
..
2a326e2
100644
(file)
--- a/
include/messages.h
+++ b/
include/messages.h
@@
-65,12
+65,11
@@
gras_error_t gras_msgtype_by_namev(const char *name,
* If the callback accepts the message, it should free it after use.
*/
typedef int (*gras_cb_t)(gras_socket_t *expeditor,
* If the callback accepts the message, it should free it after use.
*/
typedef int (*gras_cb_t)(gras_socket_t *expeditor,
- gras_datadesc_type_t *payload_type,
- void *payload_data);
+ void *payload);
gras_error_t gras_cb_register (gras_msgtype_t *msgtype,
gras_error_t gras_cb_register (gras_msgtype_t *msgtype,
- gras_cb_t cb);
+ gras_cb_t
cb);
void gras_cb_unregister(gras_msgtype_t *msgtype,
void gras_cb_unregister(gras_msgtype_t *msgtype,
- gras_cb_t cb);
+
gras_cb_t cb);
gras_error_t gras_msg_send(gras_socket_t *sock,
gras_msgtype_t *msgtype,
gras_error_t gras_msg_send(gras_socket_t *sock,
gras_msgtype_t *msgtype,
@@
-78,7
+77,7
@@
gras_error_t gras_msg_send(gras_socket_t *sock,
gras_error_t gras_msg_wait(double timeout,
gras_msgtype_t *msgt_want,
gras_socket_t **expeditor,
gras_error_t gras_msg_wait(double timeout,
gras_msgtype_t *msgt_want,
gras_socket_t **expeditor,
- void
*
*payload);
+ void
*payload);
gras_error_t gras_msg_handle(double timeOut);
gras_error_t gras_msg_handle(double timeOut);