projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
jenkins-promote-staging-trunk-libmemcached-1
[awesomized/libmemcached]
/
libmemcached
/
error.hpp
diff --git
a/libmemcached/error.hpp
b/libmemcached/error.hpp
index 1eaba13f4f739c10ed7c492fe0603f68065b7133..c2cdcc51c53b3744cde15261a71d5ae0a5c1fe0a 100644
(file)
--- a/
libmemcached/error.hpp
+++ b/
libmemcached/error.hpp
@@
-35,9
+35,9
@@
*
*/
*
*/
-#
pragma once
+#
include <libmemcached/common.h>
-#
include <libmemcached/error.h>
+#
pragma once
#ifdef __cplusplus
#ifdef __cplusplus
@@
-45,6
+45,11
@@
#define TOSTRING(x) STRINGIFY(x)
#define MEMCACHED_AT __FILE__ ":" TOSTRING(__LINE__)
#define TOSTRING(x) STRINGIFY(x)
#define MEMCACHED_AT __FILE__ ":" TOSTRING(__LINE__)
+LIBMEMCACHED_LOCAL
+memcached_return_t memcached_set_parser_error(memcached_st& memc,
+ const char *at,
+ const char *format, ...);
+
LIBMEMCACHED_LOCAL
memcached_return_t memcached_set_error(memcached_st&, memcached_return_t rc, const char *at);
LIBMEMCACHED_LOCAL
memcached_return_t memcached_set_error(memcached_st&, memcached_return_t rc, const char *at);