]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.h
* add frontent code for xmpps port
[citadel.git] / webcit / webcit.h
index 74083d41ce7c9e9538e6f28128d3a7f501c6e643..21cc98451d6a77972d3635da317d9aa1a1ed75a9 100644 (file)
 #define PORT_NUM               2000            /* port number to listen on */
 #define DEVELOPER_ID           0
 #define CLIENT_ID              4
-#define CLIENT_VERSION         741             /* This version of WebCit */
-#define MINIMUM_CIT_VERSION    741             /* min required Citadel ver */
-#define        LIBCITADEL_MIN          741             /* min required libcitadel ver */
+#define CLIENT_VERSION         744             /* This version of WebCit */
+#define MINIMUM_CIT_VERSION    744             /* min required Citadel ver */
+#define        LIBCITADEL_MIN          743             /* min required libcitadel ver */
 #define DEFAULT_HOST           "localhost"     /* Default Citadel server */
 #define DEFAULT_PORT           "504"
 #define TARGET                 "webcit01"      /* Target for inline URL's */
@@ -292,7 +292,11 @@ typedef struct _disp_cal {
        int is_repeat;
 } disp_cal;                                            
 
-
+typedef struct _ical_map {
+       const char *Name;
+       long NameLen;
+       long eenum;
+} IcalEnumMap;
 
 /*
  * Address book entry (keep it short and sweet, it's just a quickie lookup
@@ -721,7 +725,12 @@ long guess_calhourformat(void);
 int get_time_format_cached (void);
 int xtoi(const char *in, size_t len);
 const char *get_selected_language(void);
-void webcit_fmt_date(char *buf, time_t thetime, int brief);
+
+#define DATEFMT_FULL 0
+#define DATEFMT_BRIEF 1
+#define DATEFMT_RAWDATE 2
+#define DATEFMT_LOCALEDATE 3
+void webcit_fmt_date(char *buf, time_t thetime, int Format);
 int fetch_http(char *url, char *target_buf, int maxbytes);
 void free_attachments(wcsession *sess);
 void summary(void);