Added function prototypes for the msiv_*() API calls
authorArt Cancro <ajc@citadel.org>
Fri, 13 Oct 2006 16:26:55 +0000 (16:26 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 13 Oct 2006 16:26:55 +0000 (16:26 +0000)
citadel/serv_sieve.h

index 891565fd61d1a9fea0bedc62a20a781da3d8d6f9..92060a076d216d74e6496f3f28c0c1ea6fa11b0f 100644 (file)
@@ -34,12 +34,18 @@ struct ctdl_sieve {
 
 #endif /* HAVE_LIBSIEVE */
 
-
+/* If you change this string you will break all of your Sieve configs. */
+#define CTDLSIEVECONFIGSEPARATOR       "\n-=<CtdlSieveConfigSeparator>=-\n"
 
 extern struct RoomProcList *sieve_list;
 
 void sieve_queue_room(struct ctdlroom *);
 void perform_sieve_processing(void);
 
-/* If you change this string you will break all of your Sieve configs. */
-#define CTDLSIEVECONFIGSEPARATOR       "\n-=<CtdlSieveConfigSeparator>=-\n"
+void msiv_load(struct sdm_userdata *u);
+void msiv_store(struct sdm_userdata *u);
+int msiv_setactive(struct sdm_userdata *u, char *script_name);
+char *msiv_getscript(struct sdm_userdata *u, char *script_name);
+int msiv_deletescript(struct sdm_userdata *u, char *script_name);
+void msiv_putscript(struct sdm_userdata *u, char *script_name, char *script_content);
+