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
Update versionning info, and add a cheat sheet to the makefile in order to do so...
[simgrid.git]
/
include
/
messages.h
diff --git
a/include/messages.h
b/include/messages.h
index
9f62356
..
ca644b1
100644
(file)
--- a/
include/messages.h
+++ b/
include/messages.h
@@
-39,12
+39,10
@@
BEGIN_DECL
typedef struct s_gras_msgtype gras_msgtype_t;
gras_error_t gras_msgtype_declare (const char *name,
typedef struct s_gras_msgtype gras_msgtype_t;
gras_error_t gras_msgtype_declare (const char *name,
- gras_datadesc_type_t *payload,
- gras_msgtype_t **dst);
+ gras_datadesc_type_t *payload);
gras_error_t gras_msgtype_declare_v(const char *name,
short int version,
gras_error_t gras_msgtype_declare_v(const char *name,
short int version,
- gras_datadesc_type_t *payload,
- gras_msgtype_t **dst);
+ gras_datadesc_type_t *payload);
gras_error_t gras_msgtype_by_name (const char *name,
gras_msgtype_t **dst);
gras_error_t gras_msgtype_by_name (const char *name,
gras_msgtype_t **dst);
@@
-65,12
+63,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
+75,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);