]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
Created ctdl_iconv_open() wrapper around iconv_open()
[citadel.git] / webcit / webcit.h
index ffa329a7d6fda9247faa987a33e5d0dcae2b2db7..eababbed8c2eb5ca8c0466e5eb13a4828e68aa6f 100644 (file)
@@ -413,6 +413,7 @@ struct serv_info serv_info;
 extern char floorlist[128][SIZ];
 extern char *axdefs[];
 extern char *ctdlhost, *ctdlport;
+extern int http_port;
 extern char *server_cookie;
 extern int is_https;
 extern int setup_wizard;
@@ -678,6 +679,10 @@ void end_tab(int tabnum, int num_tabs);
 void str_wiki_index(char *s);
 void display_wiki_page(void);
 
+#ifdef HAVE_ICONV
+iconv_t ctdl_iconv_open(const char *tocode, const char *fromcode);
+#endif
+
 void embed_room_banner(char *, int);
 
 /* navbar types that can be passed to embed_room_banner */
@@ -719,14 +724,15 @@ void initialize_months_and_days(void);
 void http_datestring(char *buf, size_t n, time_t xtime);
 
 
-/* Views (from citadel.h) */
-#define        VIEW_BBS                0       /* Traditional Citadel BBS view */
-#define VIEW_MAILBOX           1       /* Mailbox summary */
-#define VIEW_ADDRESSBOOK       2       /* Address book view */
-#define VIEW_CALENDAR          3       /* Calendar view */
-#define VIEW_TASKS             4       /* Tasks view */
-#define VIEW_NOTES             5       /* Notes view */
-#define VIEW_WIKI              6       /* Wiki view */
+/** Views (from citadel.h) */
+#define        VIEW_BBS                0       /**< Traditional Citadel BBS view */
+#define VIEW_MAILBOX           1       /**< Mailbox summary */
+#define VIEW_ADDRESSBOOK       2       /**< Address book view */
+#define VIEW_CALENDAR          3       /**< Calendar view */
+#define VIEW_TASKS             4       /**< Tasks view */
+#define VIEW_NOTES             5       /**<  Notes view */
+#define VIEW_WIKI              6       /**<  Wiki view */
+#define VIEW_CALBRIEF          7       /**< Brief Calendar view */
 
 
 /* These should be empty, but we have them for testing */