Revision 662a3ab9 src/net_helpers.h

View differences:

src/net_helpers.h
27 27

  
28 28
#define NODE_STR_LENGTH 80
29 29

  
30
char *iface_addr(const char *iface);
31
char *default_ip_addr();
30
enum L3PROTOCOL {IP4, IP6};
31

  
32
char *iface_addr(const char *iface, enum L3PROTOCOL l3);
33
char *default_ip_addr(enum L3PROTOCOL l3);
32 34
char * nodeid_static_str(const struct nodeID * id);
33 35
int register_network_fds(const struct nodeID *s, fd_register_f func, void *handler);
34 36

  

Also available in: Unified diff