1 /* peer.h - peer (remote processes) management functions */
3 /* Copyright (c) 2006, 2007, 2009, 2010. The SimGrid Team.
4 * All rights reserved. */
6 /* This program is free software; you can redistribute it and/or modify it
7 * under the terms of the license (GNU LGPL) which comes with this package. */
19 } s_xbt_peer_t, *xbt_peer_t;
21 XBT_PUBLIC(xbt_peer_t) xbt_peer_new(const char *name, int port);
22 XBT_PUBLIC(xbt_peer_t) xbt_peer_from_string(const char *peerport);
23 XBT_PUBLIC(xbt_peer_t) xbt_peer_copy(xbt_peer_t h);
24 XBT_PUBLIC(void) xbt_peer_free(xbt_peer_t peer);
25 XBT_PUBLIC(void) xbt_peer_free_voidp(void *d);
28 #endif /* XBT_PEER_H */