/*
- * Copyright (c) 1987-2012 by the citadel.org team
+ * Copyright (c) 1987-2013 by the citadel.org team
*
* This program is open source software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 3.
#define PORT_NUM 2000 /* port number to listen on */
#define DEVELOPER_ID 0
#define CLIENT_ID 4
-#define CLIENT_VERSION 813 /* This version of WebCit */
-#define MINIMUM_CIT_VERSION 813 /* Minimum required version of Citadel server */
-#define LIBCITADEL_MIN 813 /* Minimum required version of libcitadel */
+#define CLIENT_VERSION 820 /* This version of WebCit */
+#define MINIMUM_CIT_VERSION 820 /* Minimum required version of Citadel server */
+#define LIBCITADEL_MIN 820 /* Minimum required version of libcitadel */
#define DEFAULT_HOST "localhost" /* Default Citadel server */
#define DEFAULT_PORT "504"
#define TARGET "webcit01" /* Window target for inline URL's */
icalproperty_status Status;
} disp_cal;
-typedef struct _IcalEnumMap {
+typedef struct _IcalKindEnumMap {
const char *Name;
long NameLen;
icalproperty_kind map;
-} IcalEnumMap;
+} IcalKindEnumMap;
+typedef struct _IcalMethodEnumMap {
+ const char *Name;
+ long NameLen;
+ icalproperty_method map;
+} IcalMethodEnumMap;
/*
* Address book entry (keep it short and sweet, it's just a quickie lookup
#define DATEFMT_BRIEF 1
#define DATEFMT_RAWDATE 2
#define DATEFMT_LOCALEDATE 3
-void webcit_fmt_date(char *buf, size_t siz, time_t thetime, int Format);
+long webcit_fmt_date(char *buf, size_t siz, time_t thetime, int Format);
typedef enum _RESTDispatchID {
struct bltr blogview_learn_thread_references(long msgnum);
void tmplput_blog_permalink(StrBuf *Target, WCTemplputParams *TP);
void display_summary_page(void);
+
+HashList *GetValidDomainNames(StrBuf *Target, WCTemplputParams *TP);