~brianaker/libmemcached/1164440

« back to all changes in this revision

Viewing changes to libmemcached/error.hpp

Update libtest/fedora/lion fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 *
36
36
 */
37
37
 
 
38
#include <libmemcached/error.h>
 
39
 
38
40
#pragma once
39
41
 
40
 
#include <libmemcached/error.h>
41
 
 
42
42
#ifdef __cplusplus
43
43
 
44
44
#define STRINGIFY(x) #x
46
46
#define MEMCACHED_AT __FILE__ ":" TOSTRING(__LINE__)
47
47
 
48
48
LIBMEMCACHED_LOCAL
 
49
memcached_return_t memcached_set_parser_error(memcached_st& memc,
 
50
                                              const char *at,
 
51
                                              const char *format, ...);
 
52
 
 
53
LIBMEMCACHED_LOCAL
49
54
  memcached_return_t memcached_set_error(memcached_st&, memcached_return_t rc, const char *at);
50
55
 
51
56
LIBMEMCACHED_LOCAL
82
87
  memcached_return_t memcached_set_errno(memcached_server_st&, int local_errno, const char *at);
83
88
 
84
89
LIBMEMCACHED_LOCAL
85
 
bool memcached_has_current_error(memcached_st &memc);
 
90
bool memcached_has_current_error(memcached_st&);
 
91
 
 
92
LIBMEMCACHED_LOCAL
 
93
bool memcached_has_current_error(memcached_server_st&);
86
94
 
87
95
LIBMEMCACHED_LOCAL
88
96
void memcached_error_free(memcached_st&);