/src/pigeonhole/src/lib-sieve/plugins/copy/sieve-ext-copy.h
Line | Count | Source |
1 | | #ifndef SIEVE_EXT_COPY_H |
2 | | #define SIEVE_EXT_COPY_H |
3 | | |
4 | | extern const struct sieve_extension_def copy_extension; |
5 | | |
6 | | /* sieve_ext_copy_get_extension(): |
7 | | * Get the extension struct for the copy extension. |
8 | | */ |
9 | | static inline int |
10 | | sieve_ext_copy_get_extension(struct sieve_instance *svinst, |
11 | | const struct sieve_extension **ext_r) |
12 | 0 | { |
13 | 0 | return sieve_extension_register(svinst, ©_extension, FALSE, ext_r); |
14 | 0 | } |
15 | | |
16 | | /* sieve_ext_copy_register_tag(): |
17 | | * Register the :copy tagged argument for a command other than fileinto and |
18 | | * redirect. |
19 | | */ |
20 | | void sieve_ext_copy_register_tag |
21 | | (struct sieve_validator *valdtr, const struct sieve_extension *copy_ext, |
22 | | const char *command); |
23 | | |
24 | | #endif |