3 /* peer.h - peer (remote processes) management functions */
5 /* Copyright (c) 2006 Arnaud Legrand. */
6 /* Copyright (c) 2006 Martin Quinson. */
7 /* All rights reserved. */
9 /* This program is free software; you can redistribute it and/or modify it
10 * under the terms of the license (GNU LGPL) which comes with this package. */
22 } s_xbt_peer_t, *xbt_peer_t;
24 XBT_PUBLIC(xbt_peer_t) xbt_peer_new(const char *name, int port);
25 XBT_PUBLIC(xbt_peer_t) xbt_peer_from_string(const char *peerport);
26 XBT_PUBLIC(xbt_peer_t) xbt_peer_copy(xbt_peer_t h);
27 XBT_PUBLIC(void) xbt_peer_free(xbt_peer_t peer);
28 XBT_PUBLIC(void) xbt_peer_free_voidp(void *d);
31 #endif /* XBT_PEER_H */