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;
S_LDAP,
S_FLOORCACHE,
S_DEBUGMEMLEAKS,
+ S_ATBF,
+ S_JOURNAL_QUEUE,
MAX_SEMAPHORES
};
CDB_DIRECTORY, /* address book directory */
CDB_USETABLE, /* network use table */
CDB_BIGMSGS, /* larger message bodies */
+ CDB_FULLTEXT, /* full text search index */
+ CDB_EUIDINDEX, /* locate msgs by EUID */
MAXCDB /* total number of CDB's defined */
};
};
extern struct CleanupFunctionHook *CleanupHookTable;
+struct FixedOutputHook {
+ struct FixedOutputHook *next;
+ char content_type[64];
+ void (*h_function_pointer) (char *, int);
+};
+extern struct FixedOutputHook *FixedOutputTable;
/* ********** Important fields */
/* *************** Semi-important fields */
/* * Message text (MUST be last) */
-#define FORDER "IPTAFONHRDBCEGJKLQSVWXYZUM"
+#define FORDER "IPTAFONHRDBCEJGKLQSVWXZYUM"
#endif /* SERVER_H */