projects
/
citadel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Networker reordering; remove / change dependencies
[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);