Couchbase C Client
3.0.2
Asynchronous C Client for Couchbase
|
Go to the documentation of this file.
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
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
896 typedef 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
939 #define LCB_CNTL_ENABLE_ERRMAP 0x43
953 #define LCB_CNTL_SELECT_BUCKET 0x44
963 #define LCB_CNTL_TCP_KEEPALIVE 0x45
990 #define LCB_CNTL_CONFIG_POLL_INTERVAL 0x46
1006 #define LCB_CNTL_SEND_HELLO 0x47
1019 #define LCB_CNTL_LOG_REDACTION 0x4c
1030 #define LCB_CNTL_ENABLE_TRACING 0x4e
1033 LCBTRACE_THRESHOLD_KV = 0,
1034 LCBTRACE_THRESHOLD_QUERY,
1035 LCBTRACE_THRESHOLD_VIEW,
1036 LCBTRACE_THRESHOLD_SEARCH,
1037 LCBTRACE_THRESHOLD_ANALYTICS,
1038 LCBTRACE_THRESHOLD__MAX
1039 } lcbtrace_THRESHOLDOPTS;
1061 #define LCB_CNTL_TRACING_ORPHANED_QUEUE_FLUSH_INTERVAL 0x4f
1074 #define LCB_CNTL_TRACING_ORPHANED_QUEUE_SIZE 0x50
1096 #define LCB_CNTL_TRACING_THRESHOLD_QUEUE_FLUSH_INTERVAL 0x51
1109 #define LCB_CNTL_TRACING_THRESHOLD_QUEUE_SIZE 0x52
1119 #define LCB_CNTL_TRACING_THRESHOLD_KV 0x53
1129 #define LCB_CNTL_TRACING_THRESHOLD_QUERY 0x54
1139 #define LCB_CNTL_TRACING_THRESHOLD_VIEW 0x55
1149 #define LCB_CNTL_TRACING_THRESHOLD_SEARCH 0x56
1159 #define LCB_CNTL_TRACING_THRESHOLD_ANALYTICS 0x57
1221 #define LCB_CNTL_COMPRESSION_OPTS 0x26
1231 #define LCB_CNTL_COMPRESSION_MIN_SIZE 0x58
1241 #define LCB_CNTL_COMPRESSION_MIN_RATIO 0x59
1252 #define LCB_CNTL_NETWORK 0x5b
1262 #define LCB_CNTL_HTTP_POOL_TIMEOUT 0x5d
1269 #define LCB_CNTL_ENABLE_COLLECTIONS 0x4a
1276 #define LCB_CNTL_ENABLE_DURABLE_WRITE 0x5e
1282 #define LCB_CNTL_PERSISTENCE_TIMEOUT_FLOOR 0x5f
1288 #define LCB_CNTL_ALLOW_STATIC_CONFIG 0x60
1297 #define LCB_CNTL_ANALYTICS_TIMEOUT 0x61
1303 #define LCB_CNTL__MAX 0x62
@ LCB_IPV6_ONLY
enforce only IPv6
Definition: cntl.h:243
@ LCB_SSL_NOVERIFY
Don't verify certificates.
Definition: cntl.h:526
lcb_SSLOPTS
SSL options.
Definition: cntl.h:524
@ LCB_SSL_ENABLED
Use SSL.
Definition: cntl.h:525
lcb_HTCONFIG_URLTYPE
Enumeration representing various URL forms to use for the configuration stream.
Definition: cntl.h:679
@ LCB_RETRY_ON_MISSINGNODE
Retry when there is no node for the item.
Definition: cntl.h:595
@ LCB_COMPRESS_FORCE
By default the library will send a HELLO command to the server to determine whether compression is su...
Definition: cntl.h:1197
@ LCB_RETRY_ON_MAX
< maximum index
Definition: cntl.h:596
@ LCB_RETRY_CMDS_SAFE
Retry operations which may potentially fail because they have been accepted by a previous server,...
Definition: cntl.h:613
@ LCB_COMPRESS_IN
Decompress incoming data, if the data has been compressed at the server.
Definition: cntl.h:1177
@ 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_HTCONFIG_URLTYPE_TRYALL
Try 25PLUS first and fallback to COMPAT
Definition: cntl.h:687
lcb_RETRYMODEOPTS
Select retry mode to manipulate.
Definition: cntl.h:588
@ LCB_RETRY_ON_VBMAPERR
Select retry for NOT_MY_VBUCKET responses.
Definition: cntl.h:591
@ LCB_RETRY_CMDS_NONE
Don't retry any commands.
Definition: cntl.h:603
lcb_RETRYCMDOPTS
Definition: cntl.h:599
@ LCB_IPV6_ALLOW
use both IPv6 and IPv4
Definition: cntl.h:244
Structure containing mapping information for a key.
Definition: cntl.h:216
@ LCB_COMPRESS_OUT
Compress outgoing data.
Definition: cntl.h:1184
@ LCB_RETRY_ON_TOPOCHANGE
Select retry for topology.
Definition: cntl.h:589
@ LCB_COMPRESS_NONE
Do not perform compression in any direction.
Definition: cntl.h:1170
@ LCB_SSL_NOGLOBALINIT
Do not call SSL's global init functions.
Definition: cntl.h:527
lcb_ipv6_t
Modes for handling IPv6 in the IO layer.
Definition: cntl.h:241
lcb_COMPRESSOPTS
Options for how to handle compression.
Definition: cntl.h:1166
@ LCB_IPV6_DISABLED
disable IPv6
Definition: cntl.h:242
@ LCB_RETRY_CMDS_ALL
Retry all commands, disregarding any potential unintended receipt of errors or data mutation.
Definition: cntl.h:617
@ LCB_RETRY_ON_SOCKERR
Select retry for network errors.
Definition: cntl.h:590
@ 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