summaryrefslogtreecommitdiffstats
path: root/pigeonhole/src/lib-sieve/plugins/vnd.dovecot/report/ext-vnd-report-common.h
blob: 11a375757f7e49609b8ff3ed4833f71317bc1699 (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
30
31
32
33
34
35
36
37
38
39
40
#ifndef EXT_REPORT_COMMON_H
#define EXT_REPORT_COMMON_H

/*
 * Extension configuration
 */

struct ext_report_config {
	struct sieve_address_source report_from;
};

/*
 * Extension
 */

extern const struct sieve_extension_def vnd_report_extension;

bool ext_report_load
	(const struct sieve_extension *ext, void **context);

/*
 * Commands
 */

extern const struct sieve_command_def cmd_report;

/*
 * Operations
 */

extern const struct sieve_operation_def report_operation;

/*
 * RFC 5965 feedback-type
 */

const char *
ext_vnd_report_parse_feedback_type(const char *feedback_type);

#endif