Remove global variables; replace by stack passing.
[citadel.git] / citadel / modules / network / netconfig.h
1 typedef struct NetMap NetMap;
2
3 struct  NetMap {
4         NetMap *next;
5         char nodename[SIZ];
6         time_t lastcontact;
7         char nexthop[SIZ];
8 };
9
10 char* load_working_ignetcfg(void);
11 NetMap *read_network_map(void);
12 void write_network_map(NetMap *the_netmap, int netmap_changed);
13 int is_valid_node(char *nexthop, char *secret, char *node, char *working_ignetcfg, NetMap *the_netmap);