Fixed mget_execute possibly failing into some non ending recursive call
[m6w6/libmemcached] / tests / server.h
1 /*
2 Server startup and shutdown functions.
3 */
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include <libmemcached/memcached.h>
9
10 typedef struct server_startup_st server_startup_st;
11
12 struct server_startup_st
13 {
14 uint8_t count;
15 uint8_t udp;
16 memcached_server_st *servers;
17 char *server_list;
18 };
19
20 void server_startup(server_startup_st *construct);
21 void server_shutdown(server_startup_st *construct);
22
23 #ifdef __cplusplus
24 }
25 #endif