1
/* Copyright (c) 2002-2009 Dovecot Sieve authors, see the included COPYING file
4
#ifndef __SIEVE_OBJECTS_H
5
#define __SIEVE_OBJECTS_H
12
const char *identifier;
13
const struct sieve_operand *operand;
17
#define SIEVE_OBJECT(identifier, operand, code) \
18
{ identifier, operand, code }
24
void sieve_opr_object_emit
25
(struct sieve_binary *sbin, const struct sieve_object *obj);
27
const struct sieve_object *sieve_opr_object_read_data
28
(struct sieve_binary *sbin, const struct sieve_operand *operand,
29
const struct sieve_operand_class *opclass, sieve_size_t *address);
31
const struct sieve_object *sieve_opr_object_read
32
(const struct sieve_runtime_env *renv,
33
const struct sieve_operand_class *opclass, sieve_size_t *address);
35
bool sieve_opr_object_dump
36
(const struct sieve_dumptime_env *denv,
37
const struct sieve_operand_class *opclass, sieve_size_t *address,
38
const struct sieve_object **object_r);
41
#endif /* __SIEVE_OBJECTS_H */