removed some old cruft
[citadel.git] / citadel / serv_sieve.h
index 3213504f6159e121d3e679867806076f1b527dd1..5b98b662e50dab1322d241cb0bcac3eb6016d710 100644 (file)
@@ -1,9 +1,3 @@
-/*
- * $Id: $
- */
-
-
-#ifdef HAVE_LIBSIEVE
 
 #include <sieve2.h>
 #include <sieve2_error.h>
@@ -22,10 +16,10 @@ struct sdm_vacation {
 };
 
 struct sdm_userdata {
-       sieve2_context_t *sieve2_context;       /**< for libsieve's use */
-       long config_msgnum;                     /**< confirms that a sieve config was located */
+       sieve2_context_t *sieve2_context;       /* for libsieve's use */
+       long config_msgnum;                     /* confirms that a sieve config was located */
        char config_roomname[ROOMNAMELEN];
-       long lastproc;                          /**< last message processed */
+       long lastproc;                          /* last message processed */
        struct sdm_script *first_script;
        struct sdm_vacation *first_vacation;
 };
@@ -62,11 +56,9 @@ void sieve_queue_room(struct ctdlroom *);
 void perform_sieve_processing(void);
 
 void msiv_load(struct sdm_userdata *u);
-void msiv_store(struct sdm_userdata *u);
+void msiv_store(struct sdm_userdata *u, int changes_made);
 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);
 extern char *msiv_extensions;
-
-#endif /* HAVE_LIBSIEVE */