1
/* Copyright (c) 2002-2009 Dovecot Sieve authors, see the included COPYING file
7
* Authors: Stephan Bosch
8
* Specification: RFC 5183
10
* Status: experimental, not thoroughly tested
18
#include "sieve-extensions.h"
19
#include "sieve-commands.h"
20
#include "sieve-binary.h"
21
#include "sieve-interpreter.h"
23
#include "sieve-validator.h"
25
#include "ext-environment-common.h"
31
static bool ext_environment_validator_load(struct sieve_validator *validator);
33
static int ext_my_id = -1;
35
const struct sieve_extension environment_extension = {
39
ext_environment_deinit,
40
ext_environment_validator_load,
41
NULL, NULL, NULL, NULL, NULL,
42
SIEVE_EXT_DEFINE_OPERATION(tst_environment_operation),
43
SIEVE_EXT_DEFINE_NO_OPERANDS
46
static bool ext_environment_validator_load
47
(struct sieve_validator *validator)
49
sieve_validator_register_command(validator, &tst_environment);