X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8ba0bc2f48c6b9b96dfedd8fd383b941d5fdd0b..89201b587c4ab50c528177913be26ce24f0667a4:/include/xbt/socket.h diff --git a/include/xbt/socket.h b/include/xbt/socket.h index 177ad51d3b..3d568a74be 100644 --- a/include/xbt/socket.h +++ b/include/xbt/socket.h @@ -35,15 +35,14 @@ typedef struct s_xbt_socket *xbt_socket_t; typedef struct s_xbt_trp_plugin s_xbt_trp_plugin_t, *xbt_trp_plugin_t; -void xbt_socket_new(int incoming, - xbt_socket_t* dst); -void xbt_socket_new_ext(int incoming, - xbt_socket_t* dst, - xbt_trp_plugin_t plugin, - unsigned long int buf_size, - int measurement); -XBT_INLINE void* xbt_socket_get_data(xbt_socket_t sock); -XBT_INLINE void xbt_socket_set_data(xbt_socket_t sock, void* data); +XBT_PUBLIC(void) xbt_socket_new(int incoming, xbt_socket_t* dst); +XBT_PUBLIC(void) xbt_socket_new_ext(int incoming, + xbt_socket_t* dst, + xbt_trp_plugin_t plugin, + unsigned long int buf_size, + int measurement); +XBT_PUBLIC(void*) xbt_socket_get_data(xbt_socket_t sock); +XBT_PUBLIC(void) xbt_socket_set_data(xbt_socket_t sock, void* data); /** \brief Simply create a client socket (to speak to a remote host) */ XBT_PUBLIC(xbt_socket_t) xbt_socket_tcp_client(const char *host,