From: mquinson Date: Fri, 7 Apr 2006 15:36:51 +0000 (+0000) Subject: Catch up with lastest API breakage, and fix doxygen on the way X-Git-Tag: v3.3~3250 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d4acfcad1ce01a174dea2d855443fa2e82ff5d5c Catch up with lastest API breakage, and fix doxygen on the way git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2108 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/Transport/transport.c b/src/gras/Transport/transport.c index a8d20523bb..aefa8457c0 100644 --- a/src/gras/Transport/transport.c +++ b/src/gras/Transport/transport.c @@ -36,7 +36,7 @@ gras_trp_plugin_new(const char *name, gras_trp_setup_t setup) { free(plug->name); free(plug); plug=NULL; - xbt_ex_free(e); + xbt_ex_free(&e); } else { RETHROW; } @@ -175,7 +175,9 @@ void gras_trp_socket_new(int incoming, /** * @brief Opens a server socket and makes it ready to be listened to. + * @param port: port on which you want to listen * @param buf_size: size of the buffer (in byte) on the socket (for TCP sockets only). If 0, a sain default is used (32k, but may change) + * @param measurement: whether this socket is meant to convey measurement (if you don't know, use 0 to exchange regular messages) * * In real life, you'll get a TCP socket. */ @@ -219,7 +221,10 @@ gras_socket_server_ext(unsigned short port, /** * @brief Opens a client socket to a remote host. + * @param host: who you want to connect to + * @param port: where you want to connect to on this host * @param buf_size: size of the buffer (in bytes) on the socket (for TCP sockets only). If 0, a sain default is used (32k, but may change) + * @param measurement: whether this socket is meant to convey measurement (if you don't know, use 0 to exchange regular messages) * * In real life, you'll get a TCP socket. */ diff --git a/src/gras/Transport/transport_plugin_sg.c b/src/gras/Transport/transport_plugin_sg.c index d90c36f92b..92bea15ff3 100644 --- a/src/gras/Transport/transport_plugin_sg.c +++ b/src/gras/Transport/transport_plugin_sg.c @@ -115,7 +115,7 @@ void gras_trp_sg_socket_client(gras_trp_plugin_t self, find_port(hd,sock->peer_port,&pr); } CATCH(e) { if (e.category == mismatch_error) { - xbt_ex_free(e); + xbt_ex_free(&e); THROW2(mismatch_error,0, "can't connect to %s:%d, no process listen on this port", sock->peer_name,sock->peer_port); @@ -173,7 +173,7 @@ void gras_trp_sg_socket_server(gras_trp_plugin_t self, found = 1; } CATCH(e) { if (e.category == mismatch_error) - xbt_ex_free(e); + xbt_ex_free(&e); else RETHROW; }