From: cherierm Date: Tue, 13 Mar 2007 13:53:37 +0000 (+0000) Subject: export some functions for windows dll X-Git-Tag: v3.3~2099 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0026f4fc6122e85840e274a1173101e4bc7ed0d6?ds=sidebyside export some functions for windows dll git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3260 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/Transport/transport_interface.h b/src/gras/Transport/transport_interface.h index b606cf7a1a..411f4217d6 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 */ -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); +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); /* Find which socket needs to be read next */ -gras_socket_t gras_trp_select(double timeout); +XBT_PUBLIC(gras_socket_t) gras_trp_select(double timeout); /* Set the peer process name (used by messaging layer) */ -void gras_socket_peer_proc_set(gras_socket_t sock,char*peer_proc); +XBT_PUBLIC(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); }; -gras_trp_plugin_t +XBT_PUBLIC(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) */ -void gras_trp_socketset_dump(const char *name); +XBT_PUBLIC(void) gras_trp_socketset_dump(const char *name); #endif /* GRAS_TRP_INTERFACE_H */