* Fixed a multiselect bug in the mailbox view. Ctrl-click was selecting a message...
[citadel.git] / citadel / serv_network.h
blob6f05431e81612dfc677fdde7da60f3f8ae46307e
2 typedef struct namelist namelist;
4 struct namelist {
5 namelist *next;
6 char name[SIZ];
7 };
9 typedef struct maplist maplist;
11 struct maplist {
12 struct maplist *next;
13 char remote_nodename[SIZ];
14 char remote_roomname[SIZ];
17 typedef struct SpoolControl SpoolControl;
19 struct SpoolControl {
20 long lastsent;
21 namelist *listrecps;
22 namelist *digestrecps;
23 namelist *participates;
24 maplist *ignet_push_shares;
25 char *misc;
26 FILE *digestfp;
27 int num_msgs_spooled;
31 typedef struct NetMap NetMap;
33 struct NetMap {
34 NetMap *next;
35 char nodename[SIZ];
36 time_t lastcontact;
37 char nexthop[SIZ];
40 typedef struct FilterList FilterList;
42 struct FilterList {
43 FilterList *next;
44 char fl_user[SIZ];
45 char fl_room[SIZ];
46 char fl_node[SIZ];
48 extern FilterList *filterlist;
50 void free_spoolcontrol_struct(SpoolControl **scc);
51 int writenfree_spoolcontrol_file(SpoolControl **scc, char *filename);
52 int read_spoolcontrol_file(SpoolControl **scc, char *filename);
54 int is_recipient(SpoolControl *sc, const char *Name);
57 void network_queue_room(struct ctdlroom *, void *);
58 void destroy_network_queue_room(void);