c58a6e40d762731a894cb3a64829c5cc15b989c4
[citadel.git] / citadel / modules / calendar / serv_calendar.h
1 /*
2  * $Id$
3  *
4  * iCalendar implementation for Citadel
5  *
6  */
7
8 /* 
9  * "server_generated_invitations" tells the Citadel server that the
10  * client wants invitations to be generated and sent out by the
11  * server.  Set to 1 to enable this functionality.
12  *
13  * "avoid_sending_invitations" is a server-internal variable.  It is
14  * set internally during certain transactions and cleared
15  * automatically.
16  */
17 struct cit_ical {
18         int server_generated_invitations;
19         int avoid_sending_invitations;
20 };
21
22 #define CIT_ICAL CC->CIT_ICAL
23
24 /*
25  * When saving a message containing calendar information, we keep track of
26  * some components in the calendar object that need to be inserted into
27  * message fields.
28  */
29 struct icalmessagemod {
30         char subject[SIZ];
31         char uid[SIZ];
32         time_t dtstart;
33 };