* Move to GPL v3
[citadel.git] / webcit / webcit.h
index c273800b2f68022af27a40bca725a1c926f89249..d2b7e94ead2cf712cbf0c0b1d2cb690e21d319ea 100644 (file)
@@ -122,10 +122,10 @@ extern locale_t wc_locales[];
 #define SLEEPING               180             /* TCP connection timeout */
 #define WEBCIT_TIMEOUT         900             /* WebCit session timeout */
 #define PORT_NUM               2000            /* port number to listen on */
-#define SERVER                 "WebCit v7.10"  /* who's in da house */
+#define SERVER                 "WebCit v7.11"  /* who's in da house */
 #define DEVELOPER_ID           0
 #define CLIENT_ID              4
-#define CLIENT_VERSION         710             /* This version of WebCit */
+#define CLIENT_VERSION         711             /* This version of WebCit */
 #define MINIMUM_CIT_VERSION    710             /* min required Citadel ver. */
 #define DEFAULT_HOST           "localhost"     /* Default Citadel server */
 #define DEFAULT_PORT           "504"
@@ -169,6 +169,7 @@ extern locale_t wc_locales[];
 #define QR2_SYSTEM     1               /**< System room; hide by default       */
 #define QR2_SELFLIST   2               /**< Self-service mailing list mgmt     */
 #define QR2_COLLABDEL  4               /**< Anyone who can post can also delete*/
+#define QR2_SUBJECTREQ   8   /**< Subject strongly recommended */
 
 /**
  * user/room access
@@ -396,6 +397,7 @@ struct wcsession {
        char floordiv_expanded[32];             /**< which floordiv currently expanded */
        int selected_language;                  /**< Language selected by user */
        time_t last_pager_check;                /**< last time we polled for instant msgs */
+       int nonce;                              /**< session nonce (to prevent session riding) */
 };
 
 /** values for WC->current_iconbar */