Merge in updates (including removal of some depcrated bits from the examples).
[awesomized/libmemcached] / libmemcached / quit.h
1 /* LibMemcached
2 * Copyright (C) 2010 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 * Summary: returns a human readable string for the error message
9 *
10 */
11
12 #ifndef __LIBMEMCACHED_QUIT_H__
13 #define __LIBMEMCACHED_QUIT_H__
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 LIBMEMCACHED_API
20 void memcached_quit(memcached_st *ptr);
21
22 LIBMEMCACHED_LOCAL
23 void memcached_quit_server(memcached_server_st *ptr, bool io_death);
24
25 LIBMEMCACHED_LOCAL
26 void send_quit(memcached_st *ptr);
27
28 #ifdef __cplusplus
29 }
30 #endif
31
32 #endif /* __LIBMEMCACHED_QUIT_H__ */