]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/server/caldav_reports.c
Starting to bring over calendar server code from webcit-classic.
[citadel.git] / webcit-ng / server / caldav_reports.c
index ff60dfedcb8fca8c50b48deeb5a426f5651b1493..7fe12ff3ae2b38c0a6245f5d45fe4023da6fc8da 100644 (file)
@@ -1,7 +1,7 @@
 // This file contains functions which handle all of the CalDAV "REPORT" queries
 // specified in RFC4791 section 7.
 //
-// Copyright (c) 2022 by the citadel.org team
+// Copyright (c) 2023 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, or
 // disclosure are subject to the GNU General Public License v3.
@@ -101,7 +101,7 @@ void caldav_xml_chardata(void *data, const XML_Char * s, int len) {
 //
 // NOTE: this function expects that "MSGP text/calendar" was issued at the beginning
 // of a REPORT operation to set our preferred MIME type to calendar data.
-StrBuf *fetch_ical(struct ctdlsession * c, long msgnum) {
+StrBuf *fetch_ical(struct ctdlsession *c, long msgnum) {
        char buf[1024];
        StrBuf *Buf = NULL;
 
@@ -145,7 +145,7 @@ StrBuf *fetch_ical(struct ctdlsession * c, long msgnum) {
 
 // Called by caldav_report() to output a single item.
 // Our policy is to throw away the list of properties the client asked for, and just send everything.
-void caldav_response(struct http_transaction *h, struct ctdlsession *c, StrBuf * ReportOut, StrBuf * ThisHref) {
+void caldav_response(struct http_transaction *h, struct ctdlsession *c, StrBuf *ReportOut, StrBuf *ThisHref) {
        long msgnum;
        StrBuf *Caldata = NULL;
        char *euid;