]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_calendar.h
mk_module_init.sh now tests to see if echo supports -e and -E
[citadel.git] / citadel / serv_calendar.h
index 059ba2d0d66cff28a07d816c86dd1d65fe68a137..c58a6e40d762731a894cb3a64829c5cc15b989c4 100644 (file)
@@ -1,9 +1,33 @@
 /*
  * $Id$
  *
- * iCalendar implementation for Citadel/UX
+ * iCalendar implementation for Citadel
  *
  */
 
+/* 
+ * "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 CC->CIT_ICAL
 
-/* Hrm, we don't have anything to put here yet... */
+/*
+ * 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;
+};