From: cherierm Date: Tue, 13 Mar 2007 13:49:13 +0000 (+0000) Subject: export some functions for libgras X-Git-Tag: v3.3~2100 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1a87fc62c1667cf949e0b754086d895cbe4bae8b?ds=sidebyside export some functions for libgras git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3259 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/DataDesc/datadesc_interface.h b/src/gras/DataDesc/datadesc_interface.h index b72efc0a9e..3611ee6108 100644 --- a/src/gras/DataDesc/datadesc_interface.h +++ b/src/gras/DataDesc/datadesc_interface.h @@ -14,23 +14,23 @@ #ifndef GRAS_DATADESC_INTERFACE_H #define GRAS_DATADESC_INTERFACE_H -gras_datadesc_type_t gras_datadesc_by_id (long int code); +XBT_PUBLIC(gras_datadesc_type_t) gras_datadesc_by_id (long int code); /* to debug */ -void gras_datadesc_type_dump(const gras_datadesc_type_t ddt); -const char * gras_datadesc_arch_name(int code); +XBT_PUBLIC(void) gras_datadesc_type_dump(const gras_datadesc_type_t ddt); +XBT_PUBLIC(const char *) gras_datadesc_arch_name(int code); /* compare two data type description */ -int +XBT_PUBLIC(int) gras_datadesc_type_cmp(const gras_datadesc_type_t d1, const gras_datadesc_type_t d2); /* Access function */ -int gras_datadesc_size(gras_datadesc_type_t type); +XBT_PUBLIC(int) gras_datadesc_size(gras_datadesc_type_t type); /* Described data exchanges: direct use */ -int gras_datadesc_copy(gras_datadesc_type_t type, void *src, void *dst); -void gras_datadesc_send(gras_socket_t sock, gras_datadesc_type_t type, void *src); -void gras_datadesc_recv(gras_socket_t sock, gras_datadesc_type_t type, +XBT_PUBLIC(int) gras_datadesc_copy(gras_datadesc_type_t type, void *src, void *dst); +XBT_PUBLIC(void) gras_datadesc_send(gras_socket_t sock, gras_datadesc_type_t type, void *src); +XBT_PUBLIC(void) gras_datadesc_recv(gras_socket_t sock, gras_datadesc_type_t type, int r_arch, void *dst); /* Described data exchanges: IDL compilation FIXME: not implemented*/