]> 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 1ad136c0845767f19548e3d8ca0fbc9e2dbe1858..c58a6e40d762731a894cb3a64829c5cc15b989c4 100644 (file)
@@ -1,17 +1,25 @@
 /*
  * $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))
+#define CIT_ICAL CC->CIT_ICAL
 
 /*
  * When saving a message containing calendar information, we keep track of