X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fcalendar.h;h=b71786396006194cdf845529dc0803100f20293f;hb=4b4dc864ede7c5d8d956febe4a0afb422b78e7c4;hp=09c54f2fd4c9bc453b9d0fa37fbacae25019c802;hpb=f9c270e0e7ec5f05da921060ac4d305bdeb07ae6;p=citadel.git diff --git a/webcit/calendar.h b/webcit/calendar.h index 09c54f2fd..b71786396 100644 --- a/webcit/calendar.h +++ b/webcit/calendar.h @@ -1,3 +1,20 @@ +/* + * Copyright (c) 1996-2010 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 as + * published by the Free Software Foundation; either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #ifndef __CALENDAR_H__ #define __CALENDAR_H__ @@ -45,9 +62,12 @@ int calendar_GetParamsGetServerCall(SharedMessageStatus *Stat, void **ViewSpecific, long oper, char *cmd, - long len); + long len, + char *filter, + long flen); int calendar_Cleanup(void **ViewSpecific); +int __calendar_Cleanup(void **ViewSpecific); void render_calendar_view(calview *c); void display_edit_individual_event(icalcomponent *supplied_vtodo, long msgnum, char *from, @@ -61,4 +81,23 @@ int tasks_LoadMsgFromServer(SharedMessageStatus *Stat, message_summary* Msg, int is_new, int i); + +void display_edit_task(void); +void display_edit_event(void); + +icaltimezone *get_default_icaltimezone(void); +void display_icaltimetype_as_webform(struct icaltimetype *, char *, int); +void icaltime_from_webform(struct icaltimetype *result, char *prefix); +void icaltime_from_webform_dateonly(struct icaltimetype *result, char *prefix); +void partstat_as_string(char *buf, icalproperty *attendee); +icalcomponent *ical_encapsulate_subcomponent(icalcomponent *subcomp); +void check_attendee_availability(icalcomponent *supplied_vevent); +int ical_ctdl_is_overlap( + struct icaltimetype t1start, + struct icaltimetype t1end, + struct icaltimetype t2start, + struct icaltimetype t2end +); + + #endif