2 Structures for generic tests.
9 #include "../lib/common.h"
11 typedef struct world_st world_st
;
12 typedef struct collection_st collection_st
;
13 typedef struct test_st test_st
;
17 unsigned int requires_flush
;
18 uint8_t (*function
)(memcached_st
*memc
);
21 struct collection_st
{
23 memcached_return (*pre
)(memcached_st
*memc
);
24 memcached_return (*post
)(memcached_st
*memc
);
29 collection_st
*collections
;
30 void *(*create
)(void);
31 void (*destroy
)(void *collection_object
);
34 /* How we make all of this work :) */
35 void get_world(world_st
*world
);