Merge in all changes related to being able to read configuration files.
[awesomized/libmemcached] / libtest / server.h
1 /*
2 * Copyright (C) 2011 Data Differential, http://datadifferential.com/
3 * Copyright (C) 2006-2009 Brian Aker
4 * All rights reserved.
5 *
6 * Use and distribution licensed under the BSD license. See
7 * the COPYING file in the parent directory for full text.
8 */
9
10 #pragma once
11
12 /*
13 Server startup and shutdown functions.
14 */
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 #include <libmemcached/memcached.h>
20
21 typedef struct server_startup_st server_startup_st;
22
23 struct server_startup_st
24 {
25 uint8_t count;
26 uint8_t udp;
27 memcached_server_st *servers;
28 char *server_list;
29 };
30
31 void server_startup(server_startup_st *construct);
32 void server_shutdown(server_startup_st *construct);
33
34 #ifdef __cplusplus
35 }
36 #endif