blob: 07b0ab03f6443c543f0bfb15af0416af9f9e2b52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef TESTSUITE_MAILSTORE_H
#define TESTSUITE_MAILSTORE_H
#include "lib.h"
#include "sieve-common.h"
/*
* Initialization
*/
void testsuite_mailstore_init(void);
void testsuite_mailstore_deinit(void);
void testsuite_mailstore_flush(void);
/*
* Mail user
*/
struct mail_user *testsuite_mailstore_get_user(void);
/*
* Mailbox Access
*/
bool testsuite_mailstore_mailbox_create(
const struct sieve_runtime_env *renv ATTR_UNUSED, const char *folder);
bool testsuite_mailstore_mail_index(const struct sieve_runtime_env *renv,
const char *folder, unsigned int index);
/*
* IMAP metadata
*/
int testsuite_mailstore_set_imap_metadata(const char *mailbox,
const char *annotation,
const char *value);
#endif
|