Couchbase C Client  3.3.14
Asynchronous C Client for Couchbase
Open Bucket

Detailed Description

Open bucket in cluster

Function Documentation

◆ lcb_set_open_callback()

lcb_open_callback lcb_set_open_callback ( lcb_INSTANCE * instance,
lcb_open_callback callback )

Callback to be called when bucket is opened.

Parameters
instance
callbackpointer to callback
Returns
LCB_SUCCESS on success, other code on failure.

◆ lcb_open()

lcb_STATUS lcb_open ( lcb_INSTANCE * instance,
const char * bucket,
size_t bucket_len )

Opens bucket.

Parameters
instance
bucketname of bucket to open
bucket_lenlength of bucket string
Returns
LCB_SUCCESS on success, other code on failure