error.h | error.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
* | * | |||
*/ | */ | |||
#pragma once | #pragma once | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
const char *memcached_last_error_message(memcached_st *); | const char *memcached_last_error_message(const memcached_st *); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
void memcached_error_print(const memcached_st *); | void memcached_error_print(const memcached_st *); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
memcached_return_t memcached_last_error(memcached_st *); | memcached_return_t memcached_last_error(const memcached_st *); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
int memcached_last_error_errno(memcached_st *); | int memcached_last_error_errno(const memcached_st *); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
const char *memcached_server_error(memcached_server_instance_st ptr); | const char *memcached_server_error(const memcached_server_instance_st ptr ); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
memcached_return_t memcached_server_error_return(memcached_server_instanc e_st ptr); | memcached_return_t memcached_server_error_return(const memcached_server_i nstance_st ptr); | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} // extern "C" | } // extern "C" | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||
exist.h | exist.h | |||
---|---|---|---|---|
skipping to change at line 39 | skipping to change at line 39 | |||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |||
* | * | |||
*/ | */ | |||
#pragma once | #pragma once | |||
#ifdef __cplusplus | ||||
extern "C" { | ||||
#endif | ||||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
memcached_return_t memcached_exist(memcached_st *memc, const char *key, siz e_t key_length); | memcached_return_t memcached_exist(memcached_st *memc, const char *key, siz e_t key_length); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
memcached_return_t memcached_exist_by_key(memcached_st *memc, | memcached_return_t memcached_exist_by_key(memcached_st *memc, | |||
const char *group_key, size_t gro up_key_length, | const char *group_key, size_t gro up_key_length, | |||
const char *key, size_t key_lengt h); | const char *key, size_t key_lengt h); | |||
#ifdef __cplusplus | ||||
} | ||||
#endif | ||||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||
ostream.hpp | ostream.hpp | |||
---|---|---|---|---|
skipping to change at line 44 | skipping to change at line 44 | |||
* | * | |||
*/ | */ | |||
#pragma once | #pragma once | |||
static inline std::ostream& operator<<(std::ostream& output, const enum mem cached_return_t &arg) | static inline std::ostream& operator<<(std::ostream& output, const enum mem cached_return_t &arg) | |||
{ | { | |||
output << memcached_strerror(NULL, arg); | output << memcached_strerror(NULL, arg); | |||
return output; | return output; | |||
} | } | |||
static inline std::ostream& operator<<(std::ostream& output, const memcache | ||||
d_st &arg) | ||||
{ | ||||
output << " query_id: " << memcached_query_id(&arg); | ||||
output << " error: " << memcached_last_error_message(&arg); | ||||
return output; | ||||
} | ||||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 0 lines changed or added | |||
server.h | server.h | |||
---|---|---|---|---|
skipping to change at line 107 | skipping to change at line 107 | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
const char *memcached_server_name(const memcached_server_instance_st self); | const char *memcached_server_name(const memcached_server_instance_st self); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
in_port_t memcached_server_port(const memcached_server_instance_st self); | in_port_t memcached_server_port(const memcached_server_instance_st self); | |||
LIBMEMCACHED_API | LIBMEMCACHED_API | |||
const char *memcached_server_type(const memcached_server_instance_st ptr); | const char *memcached_server_type(const memcached_server_instance_st ptr); | |||
LIBMEMCACHED_API | ||||
uint8_t memcached_server_major_version(const memcached_server_instance_st p | ||||
tr); | ||||
LIBMEMCACHED_API | ||||
uint8_t memcached_server_minor_version(const memcached_server_instance_st p | ||||
tr); | ||||
LIBMEMCACHED_API | ||||
uint8_t memcached_server_micro_version(const memcached_server_instance_st p | ||||
tr); | ||||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} // extern "C" | } // extern "C" | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 12 lines changed or added | |||