projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge working tree with build tree.
[awesomized/libmemcached]
/
libmemcached
/
error.hpp
diff --git
a/libmemcached/error.hpp
b/libmemcached/error.hpp
index 55ff1bd9d06e429e29b54a5b8cf7648489f55f5b..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);
@@
-82,7
+87,10
@@
LIBMEMCACHED_LOCAL
memcached_return_t memcached_set_errno(memcached_server_st&, int local_errno, const char *at);
LIBMEMCACHED_LOCAL
memcached_return_t memcached_set_errno(memcached_server_st&, int local_errno, const char *at);
LIBMEMCACHED_LOCAL
-bool memcached_has_current_error(memcached_st &memc);
+bool memcached_has_current_error(memcached_st&);
+
+LIBMEMCACHED_LOCAL
+bool memcached_has_current_error(memcached_server_st&);
LIBMEMCACHED_LOCAL
void memcached_error_free(memcached_st&);
LIBMEMCACHED_LOCAL
void memcached_error_free(memcached_st&);