]> code.citadel.org Git - citadel.git/blobdiff - citadel/server.h
* Auto-add *recipient* addresses to Contacts. This is done asynchronously
[citadel.git] / citadel / server.h
index c6d6bb9bc13f5afbfe165e5958b5e0c44b7ca44e..06d7d49ddef5adc9a0718e6ef431ccd3dcd2d24c 100644 (file)
@@ -157,6 +157,19 @@ enum {
 struct CitContext *MyContext(void);
 #define CC MyContext()
 
+/*
+ * This is the control record for the message base... 
+ */
+struct CitControl {
+       long MMhighest;                 /* highest message number in file   */
+       unsigned MMflags;               /* Global system flags              */
+       long MMnextuser;                /* highest user number on system    */
+       long MMnextroom;                /* highest room number on system    */
+       int version;                    /* Server-hosted upgrade level      */
+       int fulltext_wordbreaker;       /* ID of wordbreaker in use         */
+       long MMfulltext;                /* highest message number indexed   */
+};
+
 extern struct CitContext *ContextList;
 extern int ScheduledShutdown;
 extern struct CitControl CitControl;
@@ -205,6 +218,7 @@ enum {
        S_LDAP,
        S_FLOORCACHE,
        S_DEBUGMEMLEAKS,
+       S_ATBF,
        MAX_SEMAPHORES
 };
 
@@ -248,6 +262,7 @@ enum {
        CDB_DIRECTORY,          /* address book directory        */
        CDB_USETABLE,           /* network use table             */
        CDB_BIGMSGS,            /* larger message bodies         */
+       CDB_FULLTEXT,           /* full text search index        */
        MAXCDB                  /* total number of CDB's defined */
 };
 
@@ -444,6 +459,6 @@ struct ser_ret {
 /*               **********                    Important fields */
 /*                         ***************     Semi-important fields */
 /*                                        *    Message text (MUST be last) */
-#define FORDER "IPTAFONHRDBCEGJKLQSVWXYZUM"
+#define FORDER "IPTAFONHRDBCEGJKLQSVWXZYUM"
 
 #endif /* SERVER_H */