X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6d7d985bb411c1d38969ffce5f8789d7127887c3..5a3ad5e2d39b008be6c9467aa387b8358076f12c:/include/gras/messages.h?ds=sidebyside diff --git a/include/gras/messages.h b/include/gras/messages.h index aca40a0c19..fd26c022ed 100644 --- a/include/gras/messages.h +++ b/include/gras/messages.h @@ -92,17 +92,11 @@ typedef struct s_gras_msgtype *gras_msgtype_t; * @{ */ - /** \brief Context of callbacks (opaque structure) */ + /** \brief Context of callbacks (opaque structure, created by the middleware only, never by user) */ typedef struct s_gras_msg_cb_ctx *gras_msg_cb_ctx_t; -XBT_PUBLIC gras_socket_t gras_msg_cb_ctx_from(gras_msg_cb_ctx_t ctx); -XBT_PUBLIC gras_msg_cb_ctx_t gras_msg_cb_ctx_new(gras_socket_t expe, - gras_msgtype_t msgtype, - unsigned long int ID, - int answer_due, - double timeout); XBT_PUBLIC void gras_msg_cb_ctx_free(gras_msg_cb_ctx_t ctx) ; - +XBT_PUBLIC gras_socket_t gras_msg_cb_ctx_from(gras_msg_cb_ctx_t ctx); /** \brief Type of message callback functions. *