summaryrefslogtreecommitdiffstats
path: root/pigeonhole/src/testsuite/testsuite-result.h
blob: 3e232d277895c7518e01f1b20da7c0381ef75080 (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
#ifndef TESTSUITE_RESULT_H
#define TESTSUITE_RESULT_H

#include "sieve-execute.h"

extern struct sieve_execute_env testsuite_execute_env;

void testsuite_result_init(void);
void testsuite_result_deinit(void);

void testsuite_result_reset(const struct sieve_runtime_env *renv);

struct sieve_result *testsuite_result_get(void);

struct sieve_result_iterate_context *testsuite_result_iterate_init(void);

bool testsuite_result_execute(const struct sieve_runtime_env *renv);

void testsuite_result_print(const struct sieve_runtime_env *renv ATTR_UNUSED);

struct sieve_stringlist *
testsuite_result_stringlist_create(const struct sieve_runtime_env *renv,
				   int index);

#endif