]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_calendar.h
* Replaced all "Citadel/UX" references with "Citadel"
[citadel.git] / citadel / serv_calendar.h
index 39f4e6d63c1cf33a7cbd2fa82b649c72e5f4afa3..c12b1408a100882f67c51201feda891c417eca81 100644 (file)
@@ -1,14 +1,33 @@
 /*
  * $Id$
  *
- * iCalendar implementation for Citadel/UX
+ * iCalendar implementation for Citadel
  *
  */
 
-extern long SYM_CIT_ICAL;
-
+/* 
+ * "server_generated_invitations" tells the Citadel server that the
+ * client wants invitations to be generated and sent out by the
+ * server.  Set to 1 to enable this functionality.
+ *
+ * "avoid_sending_invitations" is a server-internal variable.  It is
+ * set internally during certain transactions and cleared
+ * automatically.
+ */
 struct cit_ical {
+       int server_generated_invitations;
         int avoid_sending_invitations;
 };
 
 #define CIT_ICAL ((struct cit_ical *)CtdlGetUserData(SYM_CIT_ICAL))
+
+/*
+ * When saving a message containing calendar information, we keep track of
+ * some components in the calendar object that need to be inserted into
+ * message fields.
+ */
+struct icalmessagemod {
+       char subject[SIZ];
+       char uid[SIZ];
+       time_t dtstart;
+};