]> code.citadel.org Git - citadel.git/blobdiff - citadel/server.h
Added the functions to allow scheduling of a thread to start at some
[citadel.git] / citadel / server.h
index 982aa37d82ad363d9f53c38f2cf650a49550f50a..01e5135548d20a6330e1bb52b01fd54434d25cab 100644 (file)
@@ -188,12 +188,12 @@ extern struct CitContext *ContextList;
 extern int ScheduledShutdown;
 extern struct CitControl CitControl;
 
-
 struct ExpressMessage {
        struct ExpressMessage *next;
        time_t timestamp;       /* When this message was sent */
        unsigned flags;         /* Special instructions */
-       char sender[64];        /* Name of sending user */
+       char sender[256];       /* Name of sending user */
+       char sender_email[256]; /* Email or JID of sending user */
        char *text;             /* Message text (if applicable) */
 };
 
@@ -223,7 +223,6 @@ enum {
        S_NETDB,
        S_SUPPMSGMAIN,
        S_CONFIG,
-       S_WORKER_LIST,
        S_HOUSEKEEPING,
        S_NTTLIST,
        S_DIRECTORY,
@@ -240,6 +239,8 @@ enum {
        S_LOG,
        S_NETSPOOL,
        S_THREAD_LIST,
+       S_XMPP_QUEUE,
+       S_SCHEDULE_LIST,
        MAX_SEMAPHORES
 };
 
@@ -308,6 +309,8 @@ struct cdbdata {
 #define EVT_CMD                6       /* Called after each server command */
 #define EVT_RWHO       7       /* An RWHO command is being executed */
 #define EVT_ASYNC      8       /* Doing asynchronous messages */
+#define EVT_STEALTH    9       /* Entering stealth mode */
+#define EVT_UNSTEALTH  10      /* Exiting stealth mode */
 
 #define EVT_TIMER      50      /* Timer events are called once per minute
                                   and are not tied to any session */