Merge in all of libtest updates.
[m6w6/libmemcached] / libtest / callbacks.h
1 /* uTest Copyright (C) 2011 Data Differential, http://datadifferential.com/
2 *
3 * Use and distribution licensed under the BSD license. See
4 * the COPYING file in the parent directory for full text.
5 */
6
7 #pragma once
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 typedef void* (test_callback_create_fn)(libtest::server_startup_st&, test_return_t&);
14 typedef bool test_callback_destroy_fn(void *);
15 typedef enum test_return_t (test_callback_fn)(void *);
16 typedef enum test_return_t (test_callback_runner_fn)(test_callback_fn*, void *);
17 typedef enum test_return_t (test_callback_error_fn)(const test_return_t, void *);
18
19 #ifdef __cplusplus
20 }
21 #endif
22