X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fserver%2Fmodules%2Fcalendar%2Fcalendar_report.c;h=f547967dcc71c2afdccee905daa7088a7a7ec1c2;hp=c9d7eb19967d29da9ae67eb7ee3b18f980585cbd;hb=3ddecda78a842d669c632d42cc81d987f031d882;hpb=538a328f269dc13399dfeeb7a0e80a89657aa213 diff --git a/citadel/server/modules/calendar/calendar_report.c b/citadel/server/modules/calendar/calendar_report.c index c9d7eb199..f547967dc 100644 --- a/citadel/server/modules/calendar/calendar_report.c +++ b/citadel/server/modules/calendar/calendar_report.c @@ -17,12 +17,12 @@ #include "serv_calendar.h" -// CtdlForEachMessage callback for calendar_report() -void calendar_report_backend(long msgnum, void *data) { +// CtdlForEachMessage callback for calendar_query() +void calendar_query_backend(long msgnum, void *data) { struct CtdlMessage *msg = NULL; struct ical_respond_data ird; - syslog(LOG_DEBUG, "calendar_report: calendar_report_backend(%ld)", msgnum); + syslog(LOG_DEBUG, "calendar_query: calendar_query_backend(%ld)", msgnum); // Look for the calendar event... msg = CtdlFetchMessage(msgnum, 1); @@ -59,7 +59,7 @@ void calendar_report_backend(long msgnum, void *data) { // Go through a calendar room and output calendar objects after applying caller specified filters. // It is intended as a data source for WebCit (both the UI and CalDAV) -void calendar_report(void) { +void calendar_query(void) { void *filter_rules; // Don't know yet what form this will take // Only allow this operation if we're in a room containing a calendar or tasks view @@ -76,7 +76,7 @@ void calendar_report(void) { CtdlForEachMessage(MSGS_ALL, 0, NULL, NULL, NULL, - calendar_report_backend, + calendar_query_backend, (void *) filter_rules );