113 #define LCB_CNTL_SET 0x01
114 #define LCB_CNTL_GET 0x00
138 #define LCB_CNTL_OP_TIMEOUT 0x00
147 #define LCB_CNTL_VIEW_TIMEOUT 0x01
157 #define LCB_CNTL_BUCKETNAME 0x30
167 #define LCB_CNTL_HANDLETYPE 0x04
175 #define LCB_CNTL_VBCONFIG 0x05
182 #define LCB_CNTL_IOPS 0x06
186 typedef struct lcb_cntl_vbinfo_st {
206 #define LCB_CNTL_VBMAP 0x07
218 #define LCB_CNTL_CONFERRTHRESH 0x0c
231 #define LCB_CNTL_DURABILITY_TIMEOUT 0x0d
240 #define LCB_CNTL_DURABILITY_INTERVAL 0x0e
245 #define LCB_CNTL_HTTP_TIMEOUT 0x0f
262 #define LCB_CNTL_IOPS_DLOPEN_DEBUG 0x11
269 #define LCB_CNTL_CONFIGURATION_TIMEOUT 0x12
284 #define LCB_CNTL_RANDOMIZE_BOOTSTRAP_HOSTS 0x14
301 #define LCB_CNTL_CONFIG_CACHE_LOADED 0x15
319 #define LCB_CNTL_FORCE_SASL_MECH 0x16
329 #define LCB_CNTL_MAX_REDIRECTS 0x17
345 typedef enum { LCB_LOG_TRACE = 0, LCB_LOG_DEBUG, LCB_LOG_INFO, LCB_LOG_WARN,
346 LCB_LOG_ERROR, LCB_LOG_FATAL, LCB_LOG_MAX
349 struct lcb_logprocs_st;
367 unsigned int iid,
const char *subsys,
int severity,
const char *srcfile,
368 int srcline,
const char *fmt, va_list ap);
378 typedef struct lcb_logprocs_st {
392 #define LCB_CNTL_LOGGER 0x18
411 #define LCB_CNTL_CONFDELAY_THRESH 0x19
416 #define LCB_CNTL_CONFIG_TRANSPORT 0x1A
437 #define LCB_CNTL_CONFIG_NODE_TIMEOUT 0x1B
460 #define LCB_CNTL_HTCONFIG_IDLE_TIMEOUT 0x1C
465 #define LCB_CNTL_CHANGESET 0x1F
484 #define LCB_CNTL_CONFIGCACHE 0x21
500 #define LCB_CNTL_SSL_MODE 0x22
510 #define LCB_CNTL_SSL_CERT 0x23
512 #define LCB_CNTL_SSL_CACERT LCB_CNTL_SSL_CERT
565 #define LCB_RETRYOPT_CREATE(mode, policy) (((mode) << 16) | policy)
567 #define LCB_RETRYOPT_GETMODE(u) (u) >> 16
568 #define LCB_RETRYOPT_GETPOLICY(u) (u) & 0xffff
610 #define LCB_CNTL_RETRYMODE 0x24
645 #define LCB_CNTL_HTCONFIG_URLTYPE 0x25
657 #define LCB_CNTL_SYNCDESTROY 0x28
677 #define LCB_CNTL_CONLOGGER_LEVEL 0x29
693 #define LCB_CNTL_DETAILED_ERRCODES 0x2A
711 #define LCB_CNTL_RETRY_INTERVAL 0x2C
723 #define LCB_CNTL_RETRY_BACKOFF 0x2D
734 #define LCB_CNTL_HTTP_POOLSIZE 0x2E
746 #define LCB_CNTL_HTTP_REFRESH_CONFIG_ON_ERROR 0x2F
757 #define LCB_CNTL_SCHED_IMPLICIT_FLUSH 0x31
760 #define LCB_CNTL__MAX 0x33
Only retry simple retrieval operations (excludes touch, get-and-touch, and get-locked) which may be r...
Definition: cntl.h:542
lcb_SSLOPTS
Definition: cntl.h:486
Select retry for NOT_MY_VBUCKET responses.
Definition: cntl.h:521
Select retry for network errors.
Definition: cntl.h:520
Structure containing mapping information for a key.
Definition: cntl.h:186
Use SSL.
Definition: cntl.h:487
/pools/default/b[s]/$bucket: Introduced in Couchbase Server 2.5
Definition: cntl.h:617
< maximum index
Definition: cntl.h:526
void(* lcb_logging_callback)(struct lcb_logprocs_st *procs, unsigned int iid, const char *subsys, int severity, const char *srcfile, int srcline, const char *fmt, va_list ap)
Logger callback.
Definition: cntl.h:366
lcb_log_severity_t
Logging Levels.
Definition: cntl.h:345
Retry all commands, disregarding any potential unintended receipt of errors or data mutation...
Definition: cntl.h:555
Select retry for topology.
Definition: cntl.h:519
Try 25PLUS first and fallback to COMPAT
Definition: cntl.h:623
Don't retry any commands.
Definition: cntl.h:535
/pools/default/buckets[Streaming]/$bucket.
Definition: cntl.h:620
lcb_HTCONFIG_URLTYPE
Enumeration representing various URL forms to use for the configuration stream.
Definition: cntl.h:615
Don't verify certificates.
Definition: cntl.h:488
Retry operations which may potentially fail because they have been accepted by a previous server...
Definition: cntl.h:549
lcb_RETRYCMDOPTS
Definition: cntl.h:529
Logging context.
Definition: cntl.h:378
lcb_RETRYMODEOPTS
Select retry mode to manipulate.
Definition: cntl.h:518
Retry when there is no node for the item.
Definition: cntl.h:525