This makes it easier to port ical_dezonify.c between webcit generations.
// Returns nonzero if the supplied icalcomponent occurs within the specified time range
int caldav_time_range_filter_matches(icalcomponent *cal, char *start_str, char *end_str) {
-
struct icaltimetype start = (start_str ? icaltime_from_string(start_str) : icaltime_null_time());
struct icaltimetype end = (end_str ? icaltime_from_string(end_str) : icaltime_null_time());
--- /dev/null
+../../webcit/ical_dezonify.c
\ No newline at end of file
*/
#include "webcit.h"
-#include "webserver.h"
+
#include <ctype.h>
#include "webcit.h"
-#include "webserver.h"
+
#include "calendar.h"
/*
#define RANGE 5
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
/*
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
CtxType CTX_BLOGPOST = CTX_NONE;
// GNU General Public License for more details.
#include "webcit.h"
-#include "webserver.h"
+
#include "calendar.h"
// Process a calendar object. At this point it's already been deserialized by cal_process_attachment()
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "time.h"
#include "calendar.h"
// is subject to the terms of the GNU General Public License, version 3.
#include "webcit.h"
-#include "webserver.h"
+
#include "calendar.h"
// These define how high the hour rows are in the day view
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "modules_init.h"
/* Only one thread may manipulate SessionList at a time... */
#ifdef HAVE_OPENSSL
#include "webcit.h"
-#include "webserver.h"
+
SSL_CTX *ssl_ctx; // Global SSL context
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
CtxType CTX_DAVNS = CTX_NONE;
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
/*
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
/*
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
*/
#include "webcit.h"
-#include "webserver.h"
+
CtxType CTX_FILELIST = CTX_NONE;
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "calendar.h"
/*
*/
#include "webcit.h"
-#include "webserver.h"
+
/*
* RSS feed generator -- do one message
*/
#include "webcit.h"
-#include "webserver.h"
+
#ifdef HAVE_USELOCALE
extern locale_t *wc_locales;
*/
#include "webcit.h"
-#include "webserver.h"
+
#define SEARCH_LANG 20 /* how many langs should we parse? */
#ifdef ENABLE_NLS
*/
#include "webcit.h"
-#include "webserver.h"
+
/*
// Copyright (c) 2002-2024 by the citadel.org team (Art Cancro et al)
// This program is open source software. Use, duplication, or disclosure is subject to the GNU General Public License v3.
+// NOTE: this file is symlinked between different generations of WebCit. When we retire WebCit-classic, copy the file over.
+
#include "webcit.h"
-#include "webserver.h"
+
// Figure out which time zone needs to be used for timestamps that are not UTC and do not have a time zone specified.
icaltimezone *get_default_icaltimezone(void) {
#include <stddef.h>
#include "webcit.h"
-#include "webserver.h"
+
HashList *AvailableThemes = NULL;
*/
#include "webcit.h"
-#include "webserver.h"
+
typedef enum _e_cfg {
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
int json_GetParamsGetServerCall(SharedMessageStatus *Stat,
*/
#include "webcit.h"
-#include "webserver.h"
+
/*
* IPv4/IPv6 locate_host()
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
static inline void CheckConvertBufs(struct wcsession *WCC)
#include "webcit.h"
-#include "webserver.h"
+
/*
* Free a session's march list
// GNU General Public License for more details.
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
#include "calendar.h"
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
CtxType CTX_MAILSUM = CTX_NONE;
#include "webcit.h"
#include "dav.h"
-#include "webserver.h"
+
CtxType CTX_VNOTE = CTX_NONE;
*/
#include "webcit.h"
-#include "webserver.h"
+
/*
* Display the OpenIDs associated with an account
*/
#include "webcit.h"
-#include "webserver.h"
+
/* uncomment to see all parameters sent to the server by the browser. */
/* #define DEBUG_URLSTRINGS */
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "dav.h"
HashList *PreferenceHooks;
*/
#include "webcit.h"
-#include "webserver.h"
+
/*
* Display the screen containing multiuser chat for a room.
*/
#include "webcit.h"
-#include "webserver.h"
+
typedef enum __eRoomParamType {
eNotSet,
// GNU General Public License for more details.
#include "webcit.h"
-#include "webserver.h"
+
ConstStr QRFlagList[] = {
{HKEY(strof(QR_PERMANENT))},
*/
#include "webcit.h"
-#include "webserver.h"
+
CtxType CTX_ROOMS = CTX_NONE;
CtxType CTX_FLOORS = CTX_NONE;
*/
#include "webcit.h"
-#include "webserver.h"
+
char *viewdefs[VIEW_MAX];
// modify it under the terms of the GNU General Public License, version 3.
#include "webcit.h"
-#include "webserver.h"
+
HashList *EmbeddableMimes = NULL;
StrBuf *EmbeddableMimeStrs = NULL;
*/
#include "webcit.h"
-#include "webserver.h"
+
/*
* Expiry policy for the autopurger
*/
#include "webcit.h"
-#include "webserver.h"
+
/*
*/
#include "webcit.h"
-#include "webserver.h"
+
long MaxRead = -1; /* should we do READ scattered or all at once? */
#include <stdarg.h>
#include <stddef.h>
#include "webcit.h"
-#include "webserver.h"
+
unsigned char OnePixelGif[37] = {
0x47, 0x49, 0x46, 0x38, 0x37, 0x61, 0x01, 0x00,
#define SHOW_ME_VAPPEND_PRINTF
#include "webcit.h"
-#include "webserver.h"
+
extern char *static_dirs[PATH_MAX]; /* Disk representation */
#include <sys/select.h>
#endif
-#include "webserver.h"
+
#include "modules_init.h"
#if HAVE_BACKTRACE
#include <execinfo.h>
#include "webcit.h"
#include "calendar.h"
-#include "webserver.h"
+
/*
* qsort filter to move completed tasks to bottom of task list
*/
#include "webcit.h"
-#include "webserver.h"
+
CtxType CTX_USERLIST = CTX_NONE;
/*
*/
#include "webcit.h"
-#include "webserver.h"
+
#include "calendar.h"
CtxType CTX_VCARD = CTX_NONE;
#include <stdarg.h>
#include "webcit.h"
#include "dav.h"
-#include "webserver.h"
+
StrBuf *csslocal = NULL;
HashList *HandlerHash = NULL;
// ical_dezonify() references this, but it's also used in WebCit Classic so we abstract it
#define default_zone_name ChrPtr(WC->serv_info->serv_default_cal_zone)
+
+#include "webserver.h"
// is subject to the terms of the GNU General Public License version 3.
#include "webcit.h"
-#include "webserver.h"
+
#include "modules_init.h"
extern int msock; /* master listening socket */