]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
* embed_room_banner() remove own goto code, use the api function instead.
[citadel.git] / webcit / webcit.h
index e1b1f747c1f97cf1a86646ca1bb738c2090ec058..ba66fcceb81047b3263aa2f8921368c4f99f21eb 100644 (file)
@@ -138,9 +138,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         780             /* This version of WebCit */
-#define MINIMUM_CIT_VERSION    780             /* min required Citadel ver */
-#define        LIBCITADEL_MIN          780             /* min required libcitadel ver */
+#define CLIENT_VERSION         783             /* This version of WebCit */
+#define MINIMUM_CIT_VERSION    781             /* min required Citadel ver */
+#define        LIBCITADEL_MIN          781             /* min required libcitadel ver */
 #define DEFAULT_HOST           "localhost"     /* Default Citadel server */
 #define DEFAULT_PORT           "504"
 #define TARGET                 "webcit01"      /* Target for inline URL's */
@@ -539,7 +539,6 @@ struct wcsession {
        StrBuf *upload_filename;                /* filename of http-uploaded data */
        char upload_content_type[256];          /* content type of http-uploaded data */
 
-       int new_mail;                           /* user has new mail waiting */
        int remember_new_mail;                  /* last count of new mail messages */
 
 /* Roomiew control */
@@ -786,8 +785,6 @@ void CtdlMakeTempFileName(char *, int);
 void address_book_popup(void);
 void begin_ajax_response(void);
 void end_ajax_response(void);
-void initialize_viewdefs(void);
-void initialize_axdefs(void);
 void burn_folder_cache(time_t age);
 void list_all_rooms_by_floor(const char *viewpref);
 void display_pictureview(void);
@@ -846,15 +843,10 @@ void summary(void);
 
 int is_mobile_ua(char *user_agent);
 
-void embed_room_banner(char *, int);
+void embed_room_banner(void);
 HashList *GetFloorListHash(StrBuf *Target, WCTemplputParams *TP);
 HashList *GetRoomListHash(StrBuf *Target, WCTemplputParams *TP);
 int SortRoomsByListOrder(const void *room1, const void *room2);
-/* navbar types that can be passed to embed_room_banner */
-enum {
-       navbar_none,
-       navbar_default
-};
 
 /* actual supported locales */
 void TmplGettext(StrBuf *Target, WCTemplputParams *TP);
@@ -878,6 +870,8 @@ void utf8ify_rfc822_string(char **buf);
 void begin_burst(void);
 long end_burst(void);
 
+void AppendImportantMessage(const char *pch, long len);
+
 extern char *hourname[];       /* Names of hours (12am, 1am, etc.) */
 
 void http_datestring(char *buf, size_t n, time_t xtime);