SimGrid  3.9.90
Versatile Simulation of Distributed Systems
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Helper functions to manipulate remote hosts. More...

Data Structures

struct  s_xbt_peer
 Structure describing a remote host (as name:port) More...
 

Typedefs

typedef struct s_xbt_peerxbt_peer_t
 Object describing a remote host (as name:port)
 
typedef struct s_xbt_peer s_xbt_peer_t
 Structure describing a remote host (as name:port)
 

Functions

xbt_peer_t xbt_peer_new (const char *name, int port)
 constructor
 
xbt_peer_t xbt_peer_from_string (const char *peerport)
 constructor. Argument should be of form '(peername):(port)'.
 
xbt_peer_t xbt_peer_copy (xbt_peer_t h)
 copy constructor
 
void xbt_peer_free (xbt_peer_t peer)
 destructor
 
void xbt_peer_free_voidp (void *d)
 Freeing function for dynars of xbt_peer_t.
 

Detailed Description

Helper functions to manipulate remote hosts.

This module simply introduces some rather trivial functions to manipulate remote host denomination (in the form hostname:port)