* self-service
[citadel.git] / webcit / webcit.h
index 001fbafbad54020fe6db3c61dcc0a1bff9b7c496..62ed9e26e401e26bceb95c847c3e0fd9d64bc027 100644 (file)
 #define USERCONFIGROOM         "My Citadel Config"
 
 
-/* Room flags (from Citadel) */
-#define QR_PERMANENT   1       /* Room does not purge              */
-#define QR_INUSE       2       /* Set if in use, clear if avail    */
-#define QR_PRIVATE     4       /* Set for any type of private room */
-#define QR_PASSWORDED  8       /* Set if there's a password too    */
-#define QR_GUESSNAME   16      /* Set if it's a guessname room     */
-#define QR_DIRECTORY   32      /* Directory room                   */
-#define QR_UPLOAD      64      /* Allowed to upload                */
-#define QR_DOWNLOAD    128     /* Allowed to download              */
-#define QR_VISDIR      256     /* Visible directory                */
-#define QR_ANONONLY    512     /* Anonymous-Only room              */
-#define QR_ANONOPT     1024    /* Anonymous-Option room            */
-#define QR_NETWORK     2048    /* Shared network room              */
-#define QR_PREFONLY    4096    /* Preferred status needed to enter */
-#define QR_READONLY    8192    /* Aide status required to post     */
-#define QR_MAILBOX     16384   /* Set if this is a private mailbox */
+/*
+ * Room flags (from Citadel)
+ *
+ * bucket one...
+ */
+#define QR_PERMANENT   1               /* Room does not purge              */
+#define QR_INUSE       2               /* Set if in use, clear if avail    */
+#define QR_PRIVATE     4               /* Set for any type of private room */
+#define QR_PASSWORDED  8               /* Set if there's a password too    */
+#define QR_GUESSNAME   16              /* Set if it's a guessname room     */
+#define QR_DIRECTORY   32              /* Directory room                   */
+#define QR_UPLOAD      64              /* Allowed to upload                */
+#define QR_DOWNLOAD    128             /* Allowed to download              */
+#define QR_VISDIR      256             /* Visible directory                */
+#define QR_ANONONLY    512             /* Anonymous-Only room              */
+#define QR_ANONOPT     1024            /* Anonymous-Option room            */
+#define QR_NETWORK     2048            /* Shared network room              */
+#define QR_PREFONLY    4096            /* Preferred status needed to enter */
+#define QR_READONLY    8192            /* Aide status required to post     */
+#define QR_MAILBOX     16384           /* Set if this is a private mailbox */
+
+/*
+ * bucket two...
+ */
+#define QR2_SYSTEM     1               /* System room; hide by default     */
+#define QR2_SELFLIST   2               /* Self-service mailing list mgmt   */
 
 
 struct httprequest {
@@ -320,3 +330,4 @@ void delete_floor(void);
 void create_floor(void);
 void rename_floor(void);
 void do_listsub(void);
+void toggle_self_service(void);