* Started writing the Use Table code for the new networker
[citadel.git] / citadel / serv_network.h
1 struct namelist {
2         struct namelist *next;
3         char name[SIZ];
4 };
5
6 struct SpoolControl {
7         long lastsent;
8         struct namelist *listrecps;
9         struct namelist *ignet_push_shares;
10 };
11
12 struct RoomProcList {
13         struct RoomProcList *next;
14         char name[ROOMNAMELEN];
15 };
16
17 struct NetMap {
18         struct NetMap *next;
19         char nodename[SIZ];
20         time_t lastcontact;
21         char nexthop[SIZ];
22 };
23
24 struct UseTable {
25         struct UseTable *next;
26         char *message_id;
27         time_t timestamp;
28 };
29
30 /*
31  * Operations which can be performed by the network_usetable() function
32  */
33 enum {
34         UT_INSERT,
35         UT_LOAD,
36         UT_SAVE
37 };