CVE-2013-4408:s3:ctdb_conn: add some length verification to ctdb_packet_more()
[Samba.git] / lib / ntdb / test / failtest_helper.h
blob8d1c3745158fbcaeb0811ee5cf171095f9ec6e03
1 #ifndef NTDB_TEST_FAILTEST_HELPER_H
2 #define NTDB_TEST_FAILTEST_HELPER_H
3 #include <ccan/failtest/failtest.h>
4 #include <stdbool.h>
6 /* FIXME: Check these! */
7 #define URANDOM_OPEN "open.c", 62, FAILTEST_OPEN
8 #define URANDOM_READ "open.c", 42, FAILTEST_READ
10 bool exit_check_log(struct tlist_calls *history);
11 bool failmatch(const struct failtest_call *call,
12 const char *file, int line, enum failtest_call_type type);
13 enum failtest_result block_repeat_failures(struct tlist_calls *history);
15 /* Set this to suppress failure. */
16 extern bool failtest_suppress;
18 #endif /* NTDB_TEST_LOGGING_H */