Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
measurement sockets ARE functionnal; add function gras_socket_is_meas()
[simgrid.git] / include / gras / transport.h
index 58ce4b0..cee937e 100644 (file)
@@ -69,10 +69,12 @@ char *gras_socket_peer_name(gras_socket_t sock);
  * 
  * You can only use those functions on sockets openned with the "measurement" boolean set to true.
  * 
  * 
  * You can only use those functions on sockets openned with the "measurement" boolean set to true.
  * 
- * \bug Measurement sockets are not fully functionnal yet.
  */
 /* @{*/
 
  */
 /* @{*/
 
+
+
+int gras_socket_is_meas(gras_socket_t sock);
 xbt_error_t gras_socket_meas_send(gras_socket_t peer, 
                                  unsigned int timeout,
                                  unsigned long int expSize, 
 xbt_error_t gras_socket_meas_send(gras_socket_t peer, 
                                  unsigned int timeout,
                                  unsigned long int expSize, 
@@ -81,7 +83,8 @@ xbt_error_t gras_socket_meas_recv(gras_socket_t peer,
                                  unsigned int timeout,
                                  unsigned long int expSize, 
                                  unsigned long int msgSize);
                                  unsigned int timeout,
                                  unsigned long int expSize, 
                                  unsigned long int msgSize);
-
+xbt_error_t gras_socket_meas_accept(gras_socket_t peer,gras_socket_t *accepted);
+            
 /* @}*/
 
 /** \name Using files as sockets
 /* @}*/
 
 /** \name Using files as sockets