4e1e2643323fa1072906f9bb981224171ea672f3
[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
11 NetMap *the_netmap;
12 int netmap_changed;
13 char *working_ignetcfg;
14
15 void load_working_ignetcfg(void);
16 void read_network_map(void);
17 void write_network_map(void);
18 int is_valid_node(char *nexthop, char *secret, char *node);