summaryrefslogtreecommitdiffstats
path: root/pigeonhole/src/managesieve/managesieve-settings.h
blob: a72338b90e6ea1e405a4e02de46f7c19d02c7dd2 (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 MANAGESIEVE_SETTINGS_H
#define MANAGESIEVE_SETTINGS_H

struct mail_user_settings;

/* <settings checks> */
enum managesieve_client_workarounds {
	WORKAROUND_NONE = 0x00
};
/* </settings checks> */

struct managesieve_settings {
	bool mail_debug;
	bool verbose_proctitle;
	const char *rawlog_dir;

	/* managesieve: */
	uoff_t managesieve_max_line_length;
	const char *managesieve_implementation_string;
	const char *managesieve_client_workarounds;
	const char *managesieve_logout_format;
	unsigned int managesieve_max_compile_errors;

	enum managesieve_client_workarounds parsed_workarounds;
};

extern const struct setting_parser_info managesieve_setting_parser_info;

#endif