X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/84a0b9d1947db0f61f3a82fb6df02add111fd62f..6511b78ff810ead55a110d42b01a08255a55b56d:/include/transport.h diff --git a/include/transport.h b/include/transport.h index 123b9f60d5..ad0a1bd70c 100644 --- a/include/transport.h +++ b/include/transport.h @@ -17,12 +17,17 @@ typedef struct s_gras_socket gras_socket_t; gras_error_t gras_socket_client(const char *host, unsigned short port, - unsigned int bufSize, /* OUT */ gras_socket_t **dst); gras_error_t gras_socket_server(unsigned short port, - unsigned int bufSize, /* OUT */ gras_socket_t **dst); -void gras_socket_close(gras_socket_t *sd); - +void gras_socket_close(gras_socket_t **sd); + + +/* debuging functions */ +gras_error_t gras_socket_client_from_file(const char*path, + /* OUT */ gras_socket_t **dst); +gras_error_t gras_socket_server_from_file(const char*path, + /* OUT */ gras_socket_t **dst); + #endif /* GRAS_TRANSPORT_H */