X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..4a201b7ceece70d2bc461ac48c8b746a36d07243:/include/gras/transport.h diff --git a/include/gras/transport.h b/include/gras/transport.h index 61518741e4..68d9a1f46c 100644 --- a/include/gras/transport.h +++ b/include/gras/transport.h @@ -1,6 +1,4 @@ -/* $Id$ */ - /* transport - low level communication (send/receive bunches of bytes) */ /* module's public interface exported to end user. */ @@ -42,6 +40,7 @@ XBT_PUBLIC(gras_socket_t) gras_socket_client_from_string(const char *host); /** \brief Simply create a server socket (to ear from remote hosts speaking to you) */ XBT_PUBLIC(gras_socket_t) gras_socket_server(unsigned short port); XBT_PUBLIC(void) gras_socket_close(gras_socket_t sd); +XBT_PUBLIC(void) gras_socket_close_voidp(void *sock); /** \brief Create a client socket, full interface to all relevant settings */ XBT_PUBLIC(gras_socket_t) gras_socket_client_ext(const char *host,