#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