From e6d74430697dd6bc094672e00655d48b5b7046a3 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 13 Oct 2006 16:26:55 +0000 Subject: [PATCH] Added function prototypes for the msiv_*() API calls --- citadel/serv_sieve.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/citadel/serv_sieve.h b/citadel/serv_sieve.h index 891565fd6..92060a076 100644 --- a/citadel/serv_sieve.h +++ b/citadel/serv_sieve.h @@ -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-==-\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-==-\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); + -- 2.39.2