1
/* Copyright (c) 2002-2009 Dovecot Sieve authors, see the included COPYING file
4
#ifndef __TESTSUITE_MESSAGE_H
5
#define __TESTSUITE_MESSAGE_H
7
#include "sieve-common.h"
9
extern struct sieve_message_data testsuite_msgdata;
11
void testsuite_message_init(const char *user);
12
void testsuite_message_deinit(void);
14
void testsuite_message_set_string
15
(const struct sieve_runtime_env *renv, string_t *message);
16
void testsuite_message_set_file
17
(const struct sieve_runtime_env *renv, const char *file_path);
18
void testsuite_message_set_mail
19
(const struct sieve_runtime_env *renv, struct mail *mail);
21
void testsuite_envelope_set_sender
22
(const struct sieve_runtime_env *renv, const char *value);
23
void testsuite_envelope_set_recipient
24
(const struct sieve_runtime_env *renv, const char *value);
25
void testsuite_envelope_set_auth_user
26
(const struct sieve_runtime_env *renv, const char *value);
28
#endif /* __TESTSUITE_MESSAGE_H */