X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e2c10f61cfd4d58faa73f006aa74def2c73c8860..d99acd8d7967a6024712572ba6a03830c8b5e7b1:/include/xbt/peer.h diff --git a/include/xbt/peer.h b/include/xbt/peer.h index 9feb19ec83..e99ae7c722 100644 --- a/include/xbt/peer.h +++ b/include/xbt/peer.h @@ -16,18 +16,16 @@ SG_BEGIN_DECL() -typedef struct { - char *name; - int port; -} s_xbt_peer_t, *xbt_peer_t; + typedef struct { + char *name; + int port; + } s_xbt_peer_t, *xbt_peer_t; -XBT_PUBLIC xbt_peer_t xbt_peer_new(const char *name, int port); -XBT_PUBLIC xbt_peer_t xbt_peer_from_string(const char *peerport); -XBT_PUBLIC xbt_peer_t xbt_peer_copy(xbt_peer_t h); -XBT_PUBLIC void xbt_peer_free(xbt_peer_t peer); -XBT_PUBLIC void xbt_peer_free_voidp(void *d); +XBT_PUBLIC(xbt_peer_t) xbt_peer_new(const char *name, int port); +XBT_PUBLIC(xbt_peer_t) xbt_peer_from_string(const char *peerport); +XBT_PUBLIC(xbt_peer_t) xbt_peer_copy(xbt_peer_t h); +XBT_PUBLIC(void) xbt_peer_free(xbt_peer_t peer); +XBT_PUBLIC(void) xbt_peer_free_voidp(void *d); SG_END_DECL() - - #endif /* XBT_PEER_H */