122#define LCB_CNTL_SET 0x01
123#define LCB_CNTL_GET 0x00
147#define LCB_CNTL_OP_TIMEOUT 0x00
156#define LCB_CNTL_VIEW_TIMEOUT 0x01
165#define LCB_CNTL_QUERY_TIMEOUT 0x3D
175#define LCB_CNTL_BUCKETNAME 0x30
190#define LCB_CNTL_BUCKETTYPE 0x48
199#define LCB_CNTL_HANDLETYPE 0x04
206#define LCB_CNTL_VBCONFIG 0x05
213#define LCB_CNTL_IOPS 0x06
216typedef struct lcb_cntl_vbinfo_st {
236#define LCB_CNTL_VBMAP 0x07
257#define LCB_CNTL_IP6POLICY 0x0b
268#define LCB_CNTL_CONFERRTHRESH 0x0c
281#define LCB_CNTL_DURABILITY_TIMEOUT 0x0d
292#define LCB_CNTL_DURABILITY_INTERVAL 0x0e
303#define LCB_CNTL_HTTP_TIMEOUT 0x0f
320#define LCB_CNTL_IOPS_DLOPEN_DEBUG 0x11
327#define LCB_CNTL_CONFIGURATION_TIMEOUT 0x12
342#define LCB_CNTL_RANDOMIZE_BOOTSTRAP_HOSTS 0x14
359#define LCB_CNTL_CONFIG_CACHE_LOADED 0x15
376#define LCB_CNTL_FORCE_SASL_MECH 0x16
386#define LCB_CNTL_MAX_REDIRECTS 0x17
410#define LCB_CNTL_LOGGER 0x18
428#define LCB_CNTL_CONFDELAY_THRESH 0x19
435#define LCB_CNTL_CONFIG_TRANSPORT 0x1A
456#define LCB_CNTL_CONFIG_NODE_TIMEOUT 0x1B
479#define LCB_CNTL_HTCONFIG_IDLE_TIMEOUT 0x1C
485#define LCB_CNTL_CHANGESET 0x1F
506#define LCB_CNTL_CONFIGCACHE 0x21
517#define LCB_CNTL_CONFIGCACHE_RO 0x36
540#define LCB_CNTL_SSL_MODE 0x22
551#define LCB_CNTL_SSL_CERT 0x23
565#define LCB_CNTL_SSL_KEY 0x4b
577#define LCB_CNTL_SSL_TRUSTSTORE 0x4d
583#define LCB_CNTL_SSL_CACERT LCB_CNTL_SSL_CERT
627#define LCB_RETRYOPT_CREATE(mode, policy) (((mode) << 16) | policy)
630#define LCB_RETRYOPT_GETMODE(u) ((u) >> 16)
632#define LCB_RETRYOPT_GETPOLICY(u) ((u)&0xffff)
674#define LCB_CNTL_RETRYMODE 0x24
709#define LCB_CNTL_HTCONFIG_URLTYPE 0x25
721#define LCB_CNTL_SYNCDESTROY 0x28
739#define LCB_CNTL_CONLOGGER_LEVEL 0x29
758#define LCB_CNTL_CONLOGGER_FP 0x3B
772#define LCB_CNTL_DETAILED_ERRCODES 0x2A
787#define LCB_CNTL_RETRY_INTERVAL 0x2C
802#define LCB_CNTL_RETRY_NMV_IMM 0x37
812#define LCB_CNTL_HTTP_POOLSIZE 0x2E
824#define LCB_CNTL_HTTP_REFRESH_CONFIG_ON_ERROR 0x2F
835#define LCB_CNTL_SCHED_IMPLICIT_FLUSH 0x31
849#define LCB_CNTL_ENABLE_MUTATION_TOKENS 0x34
860#define LCB_CNTL_MUTATION_TOKENS_SUPPORTED 0x38
875#define LCB_CNTL_RESET_TIMEOUT_ON_WAIT 0x3A
883#define LCB_CNTL_QUERY_CLEARACHE 0x3E
894#define LCB_CNTL_CLIENT_STRING 0x3F
896typedef const char *lcb_BUCKETCRED[2];
906#define LCB_CNTL_BUCKET_CRED 0x40
917#define LCB_CNTL_RETRY_NMV_INTERVAL 0x41
929#define LCB_CNTL_READ_CHUNKSIZE 0x42
943#define LCB_CNTL_SELECT_BUCKET 0x44
953#define LCB_CNTL_TCP_KEEPALIVE 0x45
980#define LCB_CNTL_CONFIG_POLL_INTERVAL 0x46
993#define LCB_CNTL_LOG_REDACTION 0x4c
1004#define LCB_CNTL_ENABLE_TRACING 0x4e
1007 LCBTRACE_THRESHOLD_KV = 0,
1008 LCBTRACE_THRESHOLD_QUERY,
1009 LCBTRACE_THRESHOLD_VIEW,
1010 LCBTRACE_THRESHOLD_SEARCH,
1011 LCBTRACE_THRESHOLD_ANALYTICS,
1012 LCBTRACE_THRESHOLD__MAX
1013} lcbtrace_THRESHOLDOPTS;
1035#define LCB_CNTL_TRACING_ORPHANED_QUEUE_FLUSH_INTERVAL 0x4f
1048#define LCB_CNTL_TRACING_ORPHANED_QUEUE_SIZE 0x50
1070#define LCB_CNTL_TRACING_THRESHOLD_QUEUE_FLUSH_INTERVAL 0x51
1083#define LCB_CNTL_TRACING_THRESHOLD_QUEUE_SIZE 0x52
1093#define LCB_CNTL_TRACING_THRESHOLD_KV 0x53
1103#define LCB_CNTL_TRACING_THRESHOLD_QUERY 0x54
1113#define LCB_CNTL_TRACING_THRESHOLD_VIEW 0x55
1123#define LCB_CNTL_TRACING_THRESHOLD_SEARCH 0x56
1133#define LCB_CNTL_TRACING_THRESHOLD_ANALYTICS 0x57
1195#define LCB_CNTL_COMPRESSION_OPTS 0x26
1205#define LCB_CNTL_COMPRESSION_MIN_SIZE 0x58
1215#define LCB_CNTL_COMPRESSION_MIN_RATIO 0x59
1226#define LCB_CNTL_NETWORK 0x5b
1236#define LCB_CNTL_HTTP_POOL_TIMEOUT 0x5d
1243#define LCB_CNTL_ENABLE_COLLECTIONS 0x4a
1250#define LCB_CNTL_ENABLE_DURABLE_WRITE 0x5e
1256#define LCB_CNTL_PERSISTENCE_TIMEOUT_FLOOR 0x5f
1262#define LCB_CNTL_ALLOW_STATIC_CONFIG 0x60
1271#define LCB_CNTL_ANALYTICS_TIMEOUT 0x61
1278#define LCB_CNTL_ENABLE_UNORDERED_EXECUTION 0x62
1287#define LCB_CNTL_SEARCH_TIMEOUT 0x63
1298#define LCB_CNTL_ENABLE_ERRMAP 0x65
1312#define LCB_CNTL_OP_METRICS_FLUSH_INTERVAL 0x66
1327#define LCB_CNTL_ENABLE_OP_METRICS 0x67
1343#define LCB_CNTL_PREFERRED_SERVER_GROUP 0x68
1349#define LCB_CNTL__MAX 0x69
lcb_RETRYCMDOPTS
Definition cntl.h:599
lcb_COMPRESSOPTS
Options for how to handle compression.
Definition cntl.h:1140
lcb_RETRYMODEOPTS
Select retry mode to manipulate.
Definition cntl.h:588
lcb_ipv6_t
Modes for handling IPv6 in the IO layer.
Definition cntl.h:241
lcb_HTCONFIG_URLTYPE
Enumeration representing various URL forms to use for the configuration stream.
Definition cntl.h:679
lcb_SSLOPTS
SSL options.
Definition cntl.h:524
@ LCB_RETRY_CMDS_SAFE
Retry operations which may potentially fail because they have been accepted by a previous server,...
Definition cntl.h:613
@ LCB_RETRY_CMDS_GET
Only retry simple retrieval operations (excludes touch, get-and-touch, and get-locked) which may be r...
Definition cntl.h:608
@ LCB_RETRY_CMDS_NONE
Don't retry any commands.
Definition cntl.h:603
@ LCB_RETRY_CMDS_ALL
Retry all commands, disregarding any potential unintended receipt of errors or data mutation.
Definition cntl.h:617
@ LCB_COMPRESS_OUT
Compress outgoing data.
Definition cntl.h:1158
@ LCB_COMPRESS_NONE
Do not perform compression in any direction.
Definition cntl.h:1144
@ LCB_COMPRESS_FORCE
By default the library will send a HELLO command to the server to determine whether compression is su...
Definition cntl.h:1171
@ LCB_COMPRESS_IN
Decompress incoming data, if the data has been compressed at the server.
Definition cntl.h:1151
@ LCB_RETRY_ON_TOPOCHANGE
Select retry for topology.
Definition cntl.h:589
@ LCB_RETRY_ON_SOCKERR
Select retry for network errors.
Definition cntl.h:590
@ LCB_RETRY_ON_MAX
< maximum index
Definition cntl.h:596
@ LCB_RETRY_ON_MISSINGNODE
Retry when there is no node for the item.
Definition cntl.h:595
@ LCB_RETRY_ON_VBMAPERR
Select retry for NOT_MY_VBUCKET responses.
Definition cntl.h:591
@ LCB_IPV6_ALLOW
use both IPv6 and IPv4
Definition cntl.h:244
@ LCB_IPV6_DISABLED
disable IPv6
Definition cntl.h:242
@ LCB_IPV6_ONLY
enforce only IPv6
Definition cntl.h:243
@ LCB_HTCONFIG_URLTYPE_COMPAT
/pools/default/buckets[Streaming]/$bucket.
Definition cntl.h:684
@ LCB_HTCONFIG_URLTYPE_25PLUS
/pools/default/b[s]/$bucket: Introduced in Couchbase Server 2.5
Definition cntl.h:681
@ LCB_HTCONFIG_URLTYPE_TRYALL
Try 25PLUS first and fallback to COMPAT
Definition cntl.h:687
@ LCB_SSL_NOVERIFY
Don't verify certificates.
Definition cntl.h:526
@ LCB_SSL_NOGLOBALINIT
Do not call SSL's global init functions.
Definition cntl.h:527
@ LCB_SSL_ENABLED
Use SSL.
Definition cntl.h:525
Structure containing mapping information for a key.
Definition cntl.h:216