]> code.citadel.org Git - citadel.git/blobdiff - citadel/citadel.h
* Set up the framework for different "views" of a room
[citadel.git] / citadel / citadel.h
index 8b1e0860247f04e2dae7bfd53ad330fc2cd579b1..77102c3671e1baa1b2bafeeea19333ad55ef1dcd 100644 (file)
@@ -18,7 +18,7 @@
 /*
  * Text description of this software
  */
-#define CITADEL        "Citadel/UX 5.90"
+#define CITADEL        "Citadel/UX 5.91"
 
 /*
  * REV_LEVEL is the current version number (multiplied by 100 to avoid having
@@ -27,7 +27,7 @@
  * are older than REV_MIN, none of the programs will work until the setup
  * program is run again to bring things up to date.
  */
-#define REV_LEVEL      590             /* This version */
+#define REV_LEVEL      591             /* This version */
 #define REV_MIN                570             /* Oldest compatible version */
 
 #define SERVER_TYPE 0  /* zero for stock Citadel/UX; other developers please
@@ -55,6 +55,7 @@ typedef unsigned char CIT_UBYTE;
 
 /* Various length constants */
 
+#define UGLISTLEN   100   /* you get a ungoto list of this size */
 #define ROOMNAMELEN    128             /* The size of a roomname string */
 #define NONCE_SIZE     128             /* Added by <bc> to allow for APOP auth 
                                         * it is BIG becuase there is a hostname
@@ -117,6 +118,8 @@ struct config {
        int c_aide_zap;                 /* Are Aides allowed to zap rooms?  */
        int c_imap_port;                /* IMAP listener port (usually 143) */
        time_t c_net_freq;              /* how often to run the networker   */
+       char c_disable_newu;            /* disable NEWU command             */
+       char c_aide_mailboxes;          /* give Aides access to mailboxes   */
 };
 
 #define NODENAME               config.c_nodename
@@ -185,6 +188,7 @@ struct quickroom {
        long QRnumber;                  /* Globally unique room number      */
        char QRorder;                   /* Sort key for room listing order  */
        unsigned QRflags2;              /* Additional flags                 */
+       int QRdefaultview;              /* How to display the contents      */
 };
 
 /* Private rooms are always flagged with QR_PRIVATE.  If neither QR_PASSWORDED
@@ -208,8 +212,8 @@ struct quickroom {
 /* Miscellaneous                                                            */
 
 #define MES_NORMAL     65              /* Normal message                   */
-#define MES_ANON       66              /* "****" header                    */
-#define MES_AN2                67              /* "Anonymous" header               */
+#define MES_ANONONLY   66              /* "****" header                    */
+#define MES_ANONOPT    67              /* "Anonymous" header               */
 
 #define MES_ERROR      (-1)    /* Can't send message due to bad address   */
 #define MES_LOCAL      0       /* Local message, do no network processing */
@@ -277,7 +281,7 @@ struct floor {
 #define        INTERNETCFG     "application/x-citadel-internet-config"
 #define IGNETCFG       "application/x-citadel-ignet-config"
 #define IGNETMAP       "application/x-citadel-ignet-map"
-#define USETABLE       "application/x-citadel-usetable"
+#define FILTERLIST     "application/x-citadel-filter-list"
 
 #define TRACE  lprintf(9, "Checkpoint: %s, %d\n", __FILE__, __LINE__)
 
@@ -286,3 +290,11 @@ struct floor {
 #endif
 
 #endif /* CITADEL_H */
+
+
+/*
+ * Views
+ */
+#define        VIEW_BBS                0       /* Traditional Citadel BBS view */
+#define VIEW_MAILBOX           1       /* Mailbox summary */
+#define VIEW_ADDRESSBOOK       2       /* Address book view */