X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebcit.h;h=432bdf516eabe5b3aa950a0c17e0e91a46d5b4f1;hb=7a00f6e42ba3af8be6d882054faa1744e7ffbf17;hp=6ff4aa6e82b74081a12a71623ab550c57c1db0a4;hpb=9e2a4c4605d6c591c1c11e4c986a1bc6ff6ec5c0;p=citadel.git diff --git a/webcit/webcit.h b/webcit/webcit.h index 6ff4aa6e8..432bdf516 100644 --- a/webcit/webcit.h +++ b/webcit/webcit.h @@ -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 800 /* This version of WebCit */ +#define MINIMUM_CIT_VERSION 800 /* min required Citadel ver */ +#define LIBCITADEL_MIN 800 /* min required libcitadel ver */ #define DEFAULT_HOST "localhost" /* Default Citadel server */ #define DEFAULT_PORT "504" #define TARGET "webcit01" /* Target for inline URL's */ @@ -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? */ @@ -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 */