From: Art Cancro Date: Fri, 13 Oct 2006 16:26:55 +0000 (+0000) Subject: Added function prototypes for the msiv_*() API calls X-Git-Tag: v7.86~3905 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=e6d74430697dd6bc094672e00655d48b5b7046a3;p=citadel.git Added function prototypes for the msiv_*() API calls --- 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); +