* $Id: $
*/
+
+#ifdef HAVE_LIBSIEVE
+
+#include <sieve2.h>
+#include <sieve2_error.h>
+
+struct sdm_script {
+ struct sdm_script *next;
+ char script_name[256];
+ int script_active;
+ char *script_content;
+};
+
+struct sdm_userdata {
+ 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 */
+ struct sdm_script *first_script;
+};
+
+#endif /* HAVE_LIBSIEVE */
+
+
+
extern struct RoomProcList *sieve_list;
void sieve_queue_room(struct ctdlroom *);