* Started writing the Use Table code for the new networker
[citadel.git] / citadel / serv_network.h
index 60ebce1e589d69a296e86fb9dbd59010e320a534..f3c9bbdb896d39ac989e92eb5b9c7e854df0d023 100644 (file)
@@ -8,3 +8,30 @@ struct SpoolControl {
        struct namelist *listrecps;
        struct namelist *ignet_push_shares;
 };
+
+struct RoomProcList {
+        struct RoomProcList *next;
+        char name[ROOMNAMELEN];
+};
+
+struct NetMap {
+       struct NetMap *next;
+       char nodename[SIZ];
+       time_t lastcontact;
+       char nexthop[SIZ];
+};
+
+struct UseTable {
+       struct UseTable *next;
+       char *message_id;
+       time_t timestamp;
+};
+
+/*
+ * Operations which can be performed by the network_usetable() function
+ */
+enum {
+       UT_INSERT,
+       UT_LOAD,
+       UT_SAVE
+};