summaryrefslogtreecommitdiffstats
path: root/pigeonhole/src/plugins/doveadm-sieve/doveadm-sieve-plugin.c
blob: 0478b554ba6dee20338192825b45c4f595cc8109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Copyright (c) 2002-2018 Pigeonhole authors, see the included COPYING file
 */

#include "lib.h"
#include "doveadm-mail.h"

#include "sieve.h"

#include "doveadm-sieve-cmd.h"
#include "doveadm-sieve-plugin.h"

const char *doveadm_sieve_plugin_version = DOVECOT_ABI_VERSION;

void doveadm_sieve_plugin_init(struct module *module)
{
	doveadm_sieve_sync_init(module);
	doveadm_sieve_cmds_init();
}

void doveadm_sieve_plugin_deinit(void)
{
	/* the hooks array is freed already */
	/*mail_storage_hooks_remove(&doveadm_sieve_mail_storage_hooks);*/
}