]> code.citadel.org Git - citadel.git/blobdiff - citadel/server.h
Found a MUCH better way to store the UIDL's of
[citadel.git] / citadel / server.h
index 927abb6e867ace165e62846b6ab8f6c253cd146d..49f2c73f42761824c72977df9d4b8540328a340e 100644 (file)
@@ -143,6 +143,7 @@ struct CitContext {
        struct citmgsve *MGSVE; /**< Managesieve Session struct */
        struct cit_ical *CIT_ICAL;              /* calendaring data */
        struct ma_info *ma;                     /* multipart/alternative data */
+       const char* ServiceName; /**< whats our actual purpose? */
 };
 
 typedef struct CitContext t_context;
@@ -237,6 +238,8 @@ enum {
        S_RPLIST,
        S_SIEVELIST,
        S_CHKPWD,
+       S_LOG,
+       S_NETSPOOL,
        MAX_SEMAPHORES
 };
 
@@ -436,6 +439,7 @@ struct ServiceFunctionHook {
        void (*h_command_function) (void) ;
        void (*h_async_function) (void) ;
        int msock;
+       const char* ServiceName; /* this is just for debugging and logging purposes. */
 };
 extern struct ServiceFunctionHook *ServiceHookTable;
 
@@ -516,6 +520,16 @@ struct ser_ret {
 };
 
 
+/*
+ * The S_USETABLE database is used in several modules now, so we define its format here.
+ */
+struct UseTable {
+       char ut_msgid[SIZ];
+       time_t ut_timestamp;
+};
+
+
+
 /* Preferred field order                                                       */
 /*               **********                    Important fields                */
 /*                         ***************     Semi-important fields           */