]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
Began work on a 'View outbound SMTP queue' screen
[citadel.git] / webcit / webcit.h
index dc6791d4e921180ee331a11fd725fc78c925b645..f96213b52df142af520d4ab926dff8b0cb66894e 100644 (file)
@@ -1,7 +1,6 @@
 /* $Id$ */
 
-/** we need _GNU_SOURCE for various functions arround the NLS-Stuff */
-#define _GNU_SOURCE
+#include "config.h"
 
 
 #include <ctype.h>
@@ -123,11 +122,11 @@ 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 v6.73"  /* who's in da house */
+#define SERVER                 "WebCit v6.84"  /* who's in da house */
 #define DEVELOPER_ID           0
 #define CLIENT_ID              4
-#define CLIENT_VERSION         673             /* This version of WebCit */
-#define MINIMUM_CIT_VERSION    673             /* min required Citadel ver. */
+#define CLIENT_VERSION         684             /* This version of WebCit */
+#define MINIMUM_CIT_VERSION    684             /* min required Citadel ver. */
 #define DEFAULT_HOST           "localhost"     /* Default Citadel server */
 #define DEFAULT_PORT           "504"
 #define LB                     (1)             /* Internal escape chars */
@@ -228,9 +227,11 @@ struct serv_info {
        int serv_rev_level;             /**< Whats the citadel server revision */
        char serv_bbs_city[64];         /**< Geographic location of the Citadel server */
        char serv_sysadm[64];           /**< Name of system administrator */
-       char serv_moreprompt[SIZ];      /**< Whats the commandline textprompt */
+       char serv_moreprompt[256];      /**< Whats the commandline textprompt */
        int serv_ok_floors;             /**< nonzero == server supports floors */
        int serv_supports_ldap;         /**< is the server linked against an ldap tree for adresses? */
+       int serv_newuser_disabled;      /**< Has the server disabled self-service new user creation? */
+       char serv_default_cal_zone[128];/**< Default timezone for unspecified calendar items */
 };
 
 
@@ -622,6 +623,7 @@ void free_march_list(struct wcsession *wcf);
 void set_room_policy(void);
 void display_inetconf(void);
 void save_inetconf(void);
+void display_smtpqueue(void);
 void generate_uuid(char *);
 void CtdlMakeTempFileName(char *, int);
 void display_preferences(void);
@@ -685,6 +687,7 @@ void begin_tab(int tabnum, int num_tabs);
 void end_tab(int tabnum, int num_tabs);
 void str_wiki_index(char *s);
 void display_wiki_page(void);
+char *bmstrcasestr(char *text, char *pattern);
 
 #ifdef HAVE_ICONV
 iconv_t ctdl_iconv_open(const char *tocode, const char *fromcode);