Couchbase C Client
2.5.6
|
Deprecated APIs. More...
Go to the source code of this file.
Macros | |
#define | LCB_DEPR_API(X) |
#define | LCB_DEPR_API2(X, reason) |
#define | lcb_create_compat |
#define | LCB_XSSIZES(X) |
#define | X(sname, sabbrev, idval, vernum) |
#define | lcb_verify_compiler_setup() |
#define | LCB_CNTL_RBUFSIZE |
Deprecated cntls. More... | |
#define | LCB_CNTL_WBUFSIZE |
#define | LCB_CNTL_SYNCMODE |
#define | LCB_CNTL_SKIP_CONFIGURATION_ERRORS_ON_CONNECT |
#define | lcb_is_error_enomem(a) |
#define | lcb_is_error_etmpfail(a) |
Typedefs | |
typedef void(* | lcb_error_callback) (lcb_t instance, lcb_error_t error, const char *errinfo) |
typedef struct lcb_timer_st * | lcb_timer_t |
typedef void(* | lcb_timer_callback) (lcb_timer_t timer, lcb_t instance, const void *cookie) |
typedef lcb_compat_t | lcb_cluster_t |
typedef void(* | lcb_configuration_callback) (lcb_t instance, lcb_configuration_t config) |
Enumerations | |
enum | lcb_vbucket_state_t |
I'm not sure what uses this anymore. | |
enum | lcb_compat_t |
enum | lcb_syncmode_t |
enum | lcb__STRUCTSIZES |
enum | lcb_configuration_t |
enum | lcb_http_status_t |
Functions | |
LCB_DEPR_API2 (void lcb_behavior_set_ipv6(lcb_t instance, lcb_ipv6_t mode),"Use LCB_CNTL_IP6POLICY") | |
LCB_DEPR_API2 (lcb_ipv6_t lcb_behavior_get_ipv6(lcb_t instance),"Use LCB_CNTL_IP6POLICY") | |
LCB_DEPR_API2 (void lcb_behavior_set_config_errors_threshold(lcb_t instance, lcb_size_t num_events),"Use LCB_CNTL_CONFERRTHRESH") | |
LCB_DEPR_API2 (lcb_size_t lcb_behavior_get_config_errors_threshold(lcb_t instance),"Use LCB_CNTL_CONFERRTHRESH") | |
LCB_DEPR_API2 (void lcb_set_timeout(lcb_t instance, lcb_uint32_t usec),"Use LCB_CNTL_OP_TIMEOUT") | |
LCB_DEPR_API2 (lcb_uint32_t lcb_get_timeout(lcb_t instance),"Use LCB_CNTL_OP_TIMEOUT") | |
LCB_DEPR_API2 (void lcb_set_view_timeout(lcb_t instance, lcb_uint32_t usec),"Use LCB_CNTL_VIEW_TIMEOUT") | |
LCB_DEPR_API2 (lcb_uint32_t lcb_get_view_timeout(lcb_t instance),"Use LCB_CNTL_VIEW_TIMEOUT") | |
LCB_DEPR_API2 (lcb_error_t lcb_get_last_error(lcb_t instance),"This function does not returning meaningful information. Use the operation callbacks ""and/or bootstrap callbacks") | |
LCB_DEPR_API2 (void lcb_flush_buffers(lcb_t instance, const void *cookie),"This function does nothing") | |
LCB_DEPR_API2 (lcb_error_callback lcb_set_error_callback(lcb_t, lcb_error_callback),"This function only reports bootstrap errors. Use lcb_set_bootstrap_callback instead") | |
lcb_timer_t | lcb_timer_create (lcb_t instance, const void *command_cookie, lcb_uint32_t usec, int periodic, lcb_timer_callback callback, lcb_error_t *error)) |
lcb_error_t | lcb_timer_destroy (lcb_t instance, lcb_timer_t timer)) |
LCB_DEPR_API2 (lcb_error_t lcb_create_compat(lcb_compat_t type, const void *specific, lcb_t *instance, struct lcb_io_opt_st *io),"Use memcached:// for legacy memcached. For config cache, use LCB_CNTL_CONFIGCACHE") | |
LCB_DEPR_API2 (void lcb_behavior_set_syncmode(lcb_t, lcb_syncmode_t),"Syncmode will be removed in future versions. Use lcb_wait() instead") | |
LCB_DEPR_API2 (lcb_syncmode_t lcb_behavior_get_syncmode(lcb_t),"Syncmode will be removed in future versions. Use lcb_wait() instead") | |
LCB_DEPR_API2 (const char *lcb_get_host(lcb_t),"Use lcb_get_node(instance, LCB_NODE_HTCONFIG, 0)") | |
lcb_error_t | lcb_verify_struct_size (lcb_uint32_t id, lcb_uint32_t version, lcb_size_t size) |
Verify that libcouchbase and yourself have the same size for a certain version of a struct. More... | |
LCB_DEPR_API2 (lcb_configuration_callback lcb_set_configuration_callback(lcb_t, lcb_configuration_callback),"use lcb_set_bootstrap_callback() to determine when client is ready") | |
Deprecated APIs.
#define lcb_create_compat |
#define LCB_CNTL_RBUFSIZE |
Deprecated cntls.
#define LCB_CNTL_WBUFSIZE |
#define LCB_CNTL_SYNCMODE |
#define LCB_CNTL_SKIP_CONFIGURATION_ERRORS_ON_CONNECT |
#define lcb_is_error_enomem | ( | a | ) |
#define lcb_is_error_etmpfail | ( | a | ) |
LCB_DEPR_API2 | ( | void | lcb_behavior_set_ipv6lcb_t instance, lcb_ipv6_t mode, |
"Use LCB_CNTL_IP6POLICY" | |||
) |
LCB_DEPR_API2 | ( | lcb_ipv6_t | lcb_behavior_get_ipv6lcb_t instance, |
"Use LCB_CNTL_IP6POLICY" | |||
) |
LCB_DEPR_API2 | ( | void | lcb_behavior_set_config_errors_thresholdlcb_t instance, lcb_size_t num_events, |
"Use LCB_CNTL_CONFERRTHRESH" | |||
) |
LCB_DEPR_API2 | ( | lcb_size_t | lcb_behavior_get_config_errors_thresholdlcb_t instance, |
"Use LCB_CNTL_CONFERRTHRESH" | |||
) |
LCB_DEPR_API2 | ( | void | lcb_set_timeoutlcb_t instance, lcb_uint32_t usec, |
"Use LCB_CNTL_OP_TIMEOUT" | |||
) |
LCB_DEPR_API2 | ( | lcb_uint32_t | lcb_get_timeoutlcb_t instance, |
"Use LCB_CNTL_OP_TIMEOUT" | |||
) |
LCB_DEPR_API2 | ( | void | lcb_set_view_timeoutlcb_t instance, lcb_uint32_t usec, |
"Use LCB_CNTL_VIEW_TIMEOUT" | |||
) |
LCB_DEPR_API2 | ( | lcb_uint32_t | lcb_get_view_timeoutlcb_t instance, |
"Use LCB_CNTL_VIEW_TIMEOUT" | |||
) |
LCB_DEPR_API2 | ( | lcb_error_t | lcb_get_last_errorlcb_t instance, |
"This function does not returning meaningful information. Use the operation callbacks ""and/or bootstrap callbacks" | |||
) |
LCB_DEPR_API2 | ( | void | lcb_flush_bufferslcb_t instance, const void *cookie, |
"This function does nothing" | |||
) |
LCB_DEPR_API2 | ( | lcb_error_callback | lcb_set_error_callbacklcb_t, lcb_error_callback, |
"This function only reports bootstrap errors. Use lcb_set_bootstrap_callback instead" | |||
) |
lcb_timer_t lcb_timer_create | ( | lcb_t | instance, |
const void * | command_cookie, | ||
lcb_uint32_t | usec, | ||
int | periodic, | ||
lcb_timer_callback | callback, | ||
lcb_error_t * | error | ||
) |
lcb_error_t lcb_timer_destroy | ( | lcb_t | instance, |
lcb_timer_t | timer | ||
) |
lcb_error_t lcb_verify_struct_size | ( | lcb_uint32_t | id, |
lcb_uint32_t | version, | ||
lcb_size_t | size | ||
) |
Verify that libcouchbase and yourself have the same size for a certain version of a struct.
Using different alignment / struct packing will give you strange results..
id | the id of the structure to check |
version | the version of the structure to check |
size | the expected size of the structure |
LCB_DEPR_API2 | ( | lcb_configuration_callback | lcb_set_configuration_callbacklcb_t, lcb_configuration_callback, |
"use lcb_set_bootstrap_callback() to determine when client is ready" | |||
) |