ext-ihave-common.h [plain text]
#ifndef __EXT_IHAVE_COMMON_H
#define __EXT_IHAVE_COMMON_H
#include "sieve-common.h"
extern const struct sieve_extension_def ihave_extension;
extern const struct sieve_command_def ihave_test;
extern const struct sieve_command_def error_command;
extern const struct sieve_operation_def error_operation;
struct ext_ihave_ast_context {
ARRAY_DEFINE(missing_extensions, const char *);
};
struct ext_ihave_ast_context *ext_ihave_get_ast_context
(const struct sieve_extension *this_ext, struct sieve_ast *ast);
void ext_ihave_ast_add_missing_extension
(const struct sieve_extension *this_ext, struct sieve_ast *ast,
const char *ext_name);
#endif