Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Take arguments as <host>:<port> (=cleanups); reduce default verbosity
[simgrid.git] / include / gras / messages.h
index bba9f46..4701b71 100644 (file)
@@ -116,6 +116,25 @@ gras_socket_t gras_msg_cb_ctx_from(gras_msg_cb_ctx_t ctx);
 
 /** @} */  
 
+/** @defgroup GRAS_msg_exchange Message exchange 
+ *  @ingroup  GRAS_msg
+ *
+ */
+/** @{ */
+
+
+  void gras_msg_send(gras_socket_t   sock,
+                    gras_msgtype_t  msgtype,
+                    void           *payload);
+  void gras_msg_wait(double          timeout,    
+                    gras_msgtype_t  msgt_want,
+                    gras_socket_t  *expeditor,
+                    void           *payload);
+  void gras_msg_handleall(double period);   
+  void gras_msg_handle(double timeOut);
+
+/** @} */
+
 /** @defgroup GRAS_msg_rpc RPC specific functions
  *  @ingroup  GRAS_msg
  *
@@ -147,6 +166,13 @@ void gras_msg_rpccall(gras_socket_t server,
                      double timeOut,
                      gras_msgtype_t msgtype,
                      void *request, void *answer);
+gras_msg_cb_ctx_t
+gras_msg_rpc_async_call(gras_socket_t server,
+                       double timeOut,
+                       gras_msgtype_t msgtype,
+                       void *request);
+void gras_msg_rpc_async_wait(gras_msg_cb_ctx_t ctx,
+                            void *answer);
 
 /* server side */
 void gras_msg_rpcreturn(double timeOut, gras_msg_cb_ctx_t ctx,void *answer);
@@ -154,23 +180,6 @@ void gras_msg_rpcreturn(double timeOut, gras_msg_cb_ctx_t ctx,void *answer);
 
 /** @} */
 
-/** @defgroup GRAS_msg_exchange Message exchange 
- *  @ingroup  GRAS_msg
- *
- */
-/** @{ */
-
-
-  void gras_msg_send(gras_socket_t   sock,
-                    gras_msgtype_t  msgtype,
-                    void           *payload);
-  void gras_msg_wait(double          timeout,    
-                    gras_msgtype_t  msgt_want,
-                    gras_socket_t  *expeditor,
-                    void           *payload);
-  void gras_msg_handle(double timeOut);
-
-/** @} */
 /** @defgroup GRAS_msg_exchangeadv Message exchange (advanced interface)
  *  @ingroup  GRAS_msg
  *