Final bits of abstraction.
[m6w6/libmemcached] / tests / server.h
1 /*
2 * Copyright (C) 2006-2009 Brian Aker
3 * All rights reserved.
4 *
5 * Use and distribution licensed under the BSD license. See
6 * the COPYING file in the parent directory for full text.
7 */
8
9 /*
10 Server startup and shutdown functions.
11 */
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 #include <libmemcached/memcached.h>
17
18 typedef struct server_startup_st server_startup_st;
19
20 struct server_startup_st
21 {
22 uint8_t count;
23 uint8_t udp;
24 memcached_server_st *servers;
25 char *server_list;
26 };
27
28 void server_startup(server_startup_st *construct);
29 void server_shutdown(server_startup_st *construct);
30
31 #ifdef __cplusplus
32 }
33 #endif