X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a201b7ceece70d2bc461ac48c8b746a36d07243..4fddca5a25e18bdf8b5eb0542e0fa98203e091da:/src/gras/Msg/msg_private.h?ds=sidebyside diff --git a/src/gras/Msg/msg_private.h b/src/gras/Msg/msg_private.h index 777eafef9a..a124213e86 100644 --- a/src/gras/Msg/msg_private.h +++ b/src/gras/Msg/msg_private.h @@ -2,7 +2,8 @@ /* module's private interface masked even to other parts of GRAS. */ -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -64,6 +65,7 @@ void gras_msgtype_free(void *msgtype); /* functions to extract msg from socket or put it on wire (depend RL vs SG) */ +gras_msg_t gras_msg_recv_any(void); /* Get first message arriving */ void gras_msg_recv(gras_socket_t sock, gras_msg_t msg /*OUT*/); void gras_msg_send_ext(gras_socket_t sock, e_gras_msg_kind_t kind, @@ -128,8 +130,8 @@ gras_msg_cb_ctx_t gras_msg_cb_ctx_new(gras_socket_t expe, #include "xbt/mallocator.h" extern xbt_mallocator_t gras_msg_ctx_mallocator; void *gras_msg_ctx_mallocator_new_f(void); -void gras_msg_ctx_mallocator_free_f(void *dict); +#define gras_msg_ctx_mallocator_free_f xbt_free_f void gras_msg_ctx_mallocator_reset_f(void *dict); -#endif /* GRAS_MESSAGE_PRIVATE_H */ +#endif /* GRAS_MESSAGE_PRIVATE_H */