Internal version number to 8.01 for imminent release
[citadel.git] / webcit / webcit.h
index 235c599a2298f6f04a66533ee7c76fe5de0f73a9..ad5aafc110a7f8fa32b93c557903364b9dad926f 100644 (file)
@@ -144,9 +144,9 @@ extern char *ssl_cipher_list;
 #define PORT_NUM               2000            /* port number to listen on */
 #define DEVELOPER_ID           0
 #define CLIENT_ID              4
-#define CLIENT_VERSION         789             /* This version of WebCit */
-#define MINIMUM_CIT_VERSION    789             /* min required Citadel ver */
-#define        LIBCITADEL_MIN          789             /* min required libcitadel ver */
+#define CLIENT_VERSION         801             /* This version of WebCit */
+#define MINIMUM_CIT_VERSION    801             /* min required Citadel ver */
+#define        LIBCITADEL_MIN          801             /* min required libcitadel ver */
 #define DEFAULT_HOST           "localhost"     /* Default Citadel server */
 #define DEFAULT_PORT           "504"
 #define TARGET                 "webcit01"      /* Target for inline URL's */
@@ -199,14 +199,14 @@ extern char *ssl_cipher_list;
 /*
  * user/room access
  */
-#define UA_KNOWN       2
-#define UA_GOTOALLOWED 4
-#define UA_HASNEWMSGS  8
-#define UA_ZAPPED      16
+#define UA_KNOWN               2
+#define UA_GOTOALLOWED         4
+#define UA_HASNEWMSGS          8
+#define UA_ZAPPED              16
 #define UA_POSTALLOWED          32
 #define UA_ADMINALLOWED         64
 #define UA_DELETEALLOWED        128
-#define UA_ISTRASH              256 /* Only available in room view... */
+#define UA_ISTRASH              256    /* Only available in room view... */
 
 
 /*
@@ -513,7 +513,7 @@ struct wcsession {
        StrBuf *WFBuf;                          /* Wildfire error logging buffer */
 
        StrBuf *trailing_javascript;            /* extra javascript to be appended to page */
-       char ImportantMessage[SIZ];
+/*     char ImportantMessage[SIZ];*/
        StrBuf *ImportantMsg;
        HashList *Directory;                    /* Parts of the directory URL in snippets */
        const Floor *CurrentFloor;              /* when Parsing REST, which floor are we on? */
@@ -710,9 +710,9 @@ void CreateMimeStr(void);
 
 void pop_destination(void);
 
-void fmout(char *align);
-void _fmout(StrBuf *Targt, char *align);
-void FmOut(StrBuf *Target, char *align, StrBuf *Source);
+void fmout(const char *align);
+void _fmout(StrBuf *Targt, const char *align);
+void FmOut(StrBuf *Target, const char *align, const StrBuf *Source);
 void wDumpContent(int);
 
 
@@ -734,7 +734,7 @@ void UrlizeText(StrBuf* Target, StrBuf *Source, StrBuf *WrkBuf);
 
 void display_vcard(StrBuf *Target, wc_mime_attachment *Mime, char alpha, int full, char **storename, long msgnum);
 
-void display_success(char *);
+void display_success(const char *successmessage);
 
 void shutdown_sessions(void);
 
@@ -818,9 +818,6 @@ void http_datestring(char *buf, size_t n, time_t xtime);
 
 extern int time_to_die;                        /* Nonzero if server is shutting down */
 
-/* a nice consistent place to define how we turn a message id into a thread id hash */
-#define ThreadIdHash(Buf) abs(HashLittle(ChrPtr(Buf), StrLength(Buf)))
-
 /* 
  * Array type for a blog post.  The first message is the post; the rest are comments
  */