49 #define LCB_KV_HEADER_AND_KEY LCB_KV_CONTIG
76 #define LCB_KEYBUF_IS_EMPTY(k) (k)->contig.nbytes == 0
85 #define LCB_KREQ_SIMPLE(req, k, nk) do { \
86 (req)->type = LCB_KV_COPY; \
87 (req)->contig.bytes = k; \
88 (req)->contig.nbytes = nk; \
lcb_KVBUFTYPE vtype
Value request type.
Definition: kvbuf.h:122
structure indicating a buffer and its size
Definition: iops.h:78
For use within the hashkey field, indicates that the length of the hashkey is the vBucket ID...
Definition: kvbuf.h:40
lcb_KVBUFTYPE
Flags indicating the storage policy for a buffer.
Definition: kvbuf.h:33
lcb_KVBUFTYPE type
The type of key to provide.
Definition: kvbuf.h:71
The buffer should be copied.
Definition: kvbuf.h:34
unsigned int total_length
Total length of the items.
Definition: kvbuf.h:106
The buffer is not contiguous and should not be copied.
Definition: kvbuf.h:36
lcb_size_t nbytes
Number of total bytes.
Definition: kvbuf.h:57
The buffer is contiguous and should not be copied.
Definition: kvbuf.h:35
Structure for an IOV buffer to be supplied as a buffer.
Definition: kvbuf.h:95
lcb_IOV * iov
An IOV array.
Definition: kvbuf.h:97
simple buf/length structure for a contiguous series of bytes
Definition: kvbuf.h:54
Common request header for all keys.
Definition: kvbuf.h:61
Structure representing a value to be stored.
Definition: kvbuf.h:110
The buffers are not contiguous (multi-part buffers) but should be copied.
Definition: kvbuf.h:46
unsigned int niov
Number of elements in iov array.
Definition: kvbuf.h:100