X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f787351e3355ab558d4f491bc52bef2012eaa3e8..778f65057da68465382593cd036b6ee59ada54e9:/src/gras/Transport/transport_interface.h diff --git a/src/gras/Transport/transport_interface.h b/src/gras/Transport/transport_interface.h index fc60058f96..b606cf7a1a 100644 --- a/src/gras/Transport/transport_interface.h +++ b/src/gras/Transport/transport_interface.h @@ -23,15 +23,15 @@ extern int gras_opt_trp_nomoredata_on_close; *** Main user functions ***/ /* stable if we know the storage will keep as is until the next trp_flush */ -XBT_PUBLIC void gras_trp_send(gras_socket_t sd, char *data, long int size, int stable); -XBT_PUBLIC void gras_trp_recv(gras_socket_t sd, char *data, long int size); -XBT_PUBLIC void gras_trp_flush(gras_socket_t sd); +void gras_trp_send(gras_socket_t sd, char *data, long int size, int stable); +void gras_trp_recv(gras_socket_t sd, char *data, long int size); +void gras_trp_flush(gras_socket_t sd); /* Find which socket needs to be read next */ -XBT_PUBLIC gras_socket_t gras_trp_select(double timeout); +gras_socket_t gras_trp_select(double timeout); /* Set the peer process name (used by messaging layer) */ -XBT_PUBLIC void gras_socket_peer_proc_set(gras_socket_t sock,char*peer_proc); +void gras_socket_peer_proc_set(gras_socket_t sock,char*peer_proc); /*** *** Plugin mechanism @@ -85,7 +85,7 @@ struct gras_trp_plugin_ { void (*exit)(gras_trp_plugin_t); }; -XBT_PUBLIC gras_trp_plugin_t +gras_trp_plugin_t gras_trp_plugin_get_by_name(const char *name); /* Data of this module specific to each process @@ -108,6 +108,6 @@ typedef struct { } s_gras_trp_procdata_t,*gras_trp_procdata_t; /* Display the content of our socket set (debugging purpose) */ -XBT_PUBLIC void gras_trp_socketset_dump(const char *name); +void gras_trp_socketset_dump(const char *name); #endif /* GRAS_TRP_INTERFACE_H */