ci: bsds: rebuild packages after reconfiguration
[m6w6/libmemcached] / include / libmemcached-1.0 / error.h
1 /*
2 +--------------------------------------------------------------------+
3 | libmemcached - C/C++ Client Library for memcached |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted under the terms of the BSD license. |
7 | You should have received a copy of the license in a bundled file |
8 | named LICENSE; in case you did not receive a copy you can review |
9 | the terms online at: https://opensource.org/licenses/BSD-3-Clause |
10 +--------------------------------------------------------------------+
11 | Copyright (c) 2006-2014 Brian Aker https://datadifferential.com/ |
12 | Copyright (c) 2020 Michael Wallner <mike@php.net> |
13 +--------------------------------------------------------------------+
14 */
15
16 #pragma once
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 LIBMEMCACHED_API
23 const char *memcached_error(const memcached_st *);
24
25 LIBMEMCACHED_API
26 const char *memcached_last_error_message(const memcached_st *);
27
28 LIBMEMCACHED_API
29 void memcached_error_print(const memcached_st *);
30
31 LIBMEMCACHED_API
32 memcached_return_t memcached_last_error(const memcached_st *);
33
34 LIBMEMCACHED_API
35 int memcached_last_error_errno(const memcached_st *);
36
37 LIBMEMCACHED_API
38 const char *memcached_server_error(const memcached_instance_st *ptr);
39
40 LIBMEMCACHED_API
41 memcached_return_t memcached_server_error_return(const memcached_instance_st *ptr);
42
43 #ifdef __cplusplus
44 } // extern "C"
45 #endif