b2dc8c9af1063c86dd45472fef916930b2117bb8
[m6w6/libmemcached] / libmemcached / strerror.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_STRERROR_H__
13 #define __LIBMEMCACHED_STRERROR_H__
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 LIBMEMCACHED_API
20 const char *memcached_strerror(memcached_st *ptr, memcached_return_t rc);
21
22 #ifdef __cplusplus
23 }
24 #endif
25
26 #endif /* __LIBMEMCACHED_STRERROR_H__ */