Merge in trunk. Updates to manual/update to latest libtest.
[awesomized/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)(enum test_return_t*);
14 typedef enum test_return_t (test_callback_fn)(void *);
15 typedef enum test_return_t (test_callback_runner_fn)(test_callback_fn*, void *);
16 typedef enum test_return_t (test_callback_error_fn)(const enum test_return_t, void *);
17
18 #ifdef __cplusplus
19 }
20 #endif
21