Couchbase C Client  2.4.4
Committed Interfaces
See also
Interface Attributes
Global lcb_arithmetic (lcb_t instance, const void *command_cookie, lcb_SIZE num, const lcb_arithmetic_cmd_t *const *commands)
Global lcb_arithmetic_callback )(lcb_t instance, const void *cookie, lcb_error_t error, const lcb_arithmetic_resp_t *resp)
Global lcb_bootstrap_callback )(lcb_t instance, lcb_error_t err)
Global lcb_breakout (lcb_t instance)
Global lcb_cancel_http_request (lcb_t instance, lcb_http_request_t request)
Global lcb_cntl (lcb_t instance, int mode, int cmd, void *arg)
Global LCB_CNTL_BUCKETNAME
Global LCB_CNTL_CHANGESET
Global LCB_CNTL_COMPRESSION_OPTS
Global LCB_CNTL_CONFIG_NODE_TIMEOUT
Global LCB_CNTL_CONFIGURATION_TIMEOUT
Global LCB_CNTL_CONLOGGER_LEVEL
Global LCB_CNTL_DETAILED_ERRCODES
Global LCB_CNTL_DURABILITY_INTERVAL
Global LCB_CNTL_DURABILITY_TIMEOUT
Global lcb_cntl_getu32 (lcb_t instance, int cmd)
Global LCB_CNTL_HTTP_TIMEOUT
Global LCB_CNTL_OP_TIMEOUT
See also
lcb-timeout-info
Global LCB_CNTL_RANDOMIZE_BOOTSTRAP_HOSTS
Global lcb_cntl_setu32 (lcb_t instance, int cmd, lcb_U32 arg)
Global lcb_cntl_string (lcb_t instance, const char *key, const char *value)
- Note, the actual API call is considered committed and will not disappear, however the existence of the various string settings are dependendent on the actual settings they map to. It is recommended that applications use the numerical lcb_cntl() as the string names are subject to change.
Global LCB_CNTL_VBMAP
Global LCB_CNTL_VIEW_TIMEOUT
Global lcb_connect (lcb_t instance)
Global lcb_create (lcb_t *instance, const struct lcb_create_st *options)
See also
lcb_create_st3
Global lcb_destroy (lcb_t instance)
Global lcb_destroy_async (lcb_t instance, const void *arg)
Global lcb_disable_timings (lcb_t instance)
Global lcb_durability_poll (lcb_t instance, const void *cookie, const lcb_durability_opts_t *options, lcb_SIZE ncmds, const lcb_durability_cmd_t *const *cmds)
Global lcb_enable_timings (lcb_t instance)
Global lcb_flush (lcb_t instance, const void *cookie, lcb_SIZE num, const lcb_flush_cmd_t *const *commands)
Global lcb_get (lcb_t instance, const void *command_cookie, lcb_SIZE num, const lcb_get_cmd_t *const *commands)
Global lcb_get_bootstrap_status (lcb_t instance)
Global lcb_get_callback )(lcb_t instance, const void *cookie, lcb_error_t error, const lcb_get_resp_t *resp)
Global lcb_get_cookie (lcb_t instance)
Global lcb_get_errtype (lcb_error_t err)
Global lcb_get_node (lcb_t instance, lcb_GETNODETYPE type, unsigned index)
Global lcb_get_num_nodes (lcb_t instance)
Global lcb_get_num_replicas (lcb_t instance)
Global lcb_get_replica (lcb_t instance, const void *command_cookie, lcb_SIZE num, const lcb_get_replica_cmd_t *const *commands)
Global lcb_get_server_list (lcb_t instance)
Global lcb_get_timings (lcb_t instance, const void *cookie, lcb_timings_callback callback)
Global lcb_io_ops_type_t
Global lcb_make_http_request (lcb_t instance, const void *command_cookie, lcb_http_type_t type, const lcb_http_cmd_t *cmd, lcb_http_request_t *request)
Global lcb_observe (lcb_t instance, const void *command_cookie, lcb_SIZE num, const lcb_observe_cmd_t *const *commands)
Global lcb_remove (lcb_t instance, const void *command_cookie, lcb_SIZE num, const lcb_remove_cmd_t *const *commands)
Global lcb_server_versions (lcb_t instance, const void *command_cookie, lcb_SIZE num, const lcb_server_version_cmd_t *const *commands)
Global lcb_set_arithmetic_callback (lcb_t, lcb_arithmetic_callback)
Global lcb_set_cookie (lcb_t instance, const void *cookie)
Global lcb_set_get_callback (lcb_t, lcb_get_callback callback)
Global lcb_set_store_callback (lcb_t, lcb_store_callback callback)
Global lcb_set_touch_callback (lcb_t, lcb_touch_callback)
Global lcb_set_unlock_callback (lcb_t, lcb_unlock_callback)
Global lcb_store (lcb_t instance, const void *command_cookie, lcb_SIZE num, const lcb_store_cmd_t *const *commands)
Global lcb_store_callback )(lcb_t instance, const void *cookie, lcb_storage_t operation, lcb_error_t error, const lcb_store_resp_t *resp)
Global lcb_strerror (lcb_t instance, lcb_error_t error)
Global lcb_supports_feature (int n)
Determine if this version has support for a particularl feature
Parameters
nthe feature ID to check for
Returns
0 if not supported, nonzero if supported.
Global lcb_touch_callback )(lcb_t instance, const void *cookie, lcb_error_t error, const lcb_touch_resp_t *resp)
Global lcb_unlock (lcb_t instance, const void *command_cookie, lcb_SIZE num, const lcb_unlock_cmd_t *const *commands)
Global lcb_unlock_callback )(lcb_t instance, const void *cookie, lcb_error_t error, const lcb_unlock_resp_t *resp)
Global lcb_wait (lcb_t instance)
Global lcb_wait3 (lcb_t instance, lcb_WAITFLAGS flags)
Global lcbvb_destroy (lcbvb_CONFIG *conf)
Destroy the configuration object
Parameters
conf
Global lcbvb_get_capibase (lcbvb_CONFIG *cfg, unsigned ix, lcbvb_SVCMODE mode)
Global lcbvb_get_distmode (const lcbvb_CONFIG *cfg)
Global lcbvb_get_error (const lcbvb_CONFIG *vbc)
Global lcbvb_get_hostport (lcbvb_CONFIG *cfg, unsigned ix, lcbvb_SVCTYPE type, lcbvb_SVCMODE mode)
Global lcbvb_get_nreplicas (const lcbvb_CONFIG *cfg)
Global lcbvb_get_nservers (const lcbvb_CONFIG *cfg)
Global lcbvb_get_port (lcbvb_CONFIG *cfg, unsigned ix, lcbvb_SVCTYPE type, lcbvb_SVCMODE mode)
Global lcbvb_get_revision (const lcbvb_CONFIG *cfg)
Global lcbvb_k2vb (lcbvb_CONFIG *cfg, const void *key, lcb_SIZE n)
Global lcbvb_load_json (lcbvb_CONFIG *vbc, const char *data)
Load a JSON-based configuration string into a configuration object
Parameters
vbcObject to populate
dataNUL-terminated string to parse
Returns
0 on success, nonzero on failure
Note
it is recommended to use this function rather than lcbvb_parse_json() as this will contain the error string in the configuration in case of parse failures.
Global lcbvb_map_key (lcbvb_CONFIG *cfg, const void *key, lcb_SIZE n, int *vbid, int *srvix)
Global lcbvb_vbmaster (lcbvb_CONFIG *cfg, int vbid)
Global lcbvb_vbreplica (lcbvb_CONFIG *cfg, int vbid, unsigned ix)