summaryrefslogtreecommitdiffstats
path: root/pigeonhole/src/plugins/imapsieve/ext-imapsieve-common.h
blob: d3e69cd1f31130b9e32335a9f12a2a0474384248 (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
25
26
27
28
29
#ifndef EXT_IMAPSIEVE_COMMON_H
#define EXT_IMAPSIEVE_COMMON_H

#include "sieve-extensions.h"

#include "imap-sieve.h"

/*
 * Extensions
 */

extern const struct sieve_extension_def imapsieve_extension;
extern const struct sieve_extension_def imapsieve_extension_dummy;

extern const struct sieve_extension_def vnd_imapsieve_extension;
extern const struct sieve_extension_def vnd_imapsieve_extension_dummy;

/*
 * Environment items
 */

void ext_imapsieve_environment_items_register
	(const struct sieve_extension *ext,
		const struct sieve_runtime_env *renv);
void ext_imapsieve_environment_vendor_items_register
	(const struct sieve_extension *ext,
		const struct sieve_runtime_env *renv);

#endif