C API  19.3.0
Oracle NoSQL Database C Client
Store APIs

Modules

 Open and Close
 
 Configuration
 

Functions

void kv_driver_version (kv_int_t *major, kv_int_t *minor, kv_int_t *patch)
 
const char * kv_driver_package_version ()
 
kv_error_t kv_proxy_version (kv_store_t *store, const char **versionp)
 

Detailed Description

This chapter describes store open, close, store and proxy configuration functions.

Function Documentation

const char* kv_driver_package_version ( )

Returns the release package number for the C driver. This corresponds to the package that was downloaded and is used primarily for support and documentation purposes.

void kv_driver_version ( kv_int_t major,
kv_int_t minor,
kv_int_t patch 
)

Returns the API version information for the interface. Source compatibility is maintained across major versions, binary compatibility across minor versions. The patch version indicates re-releases within a major/minor pair and will not affect existing code, although new interfaces may be added.

Parameters
[in]majora pointer to where the major value is returned. If NULL then this value will not be returned.
[in]minora pointer to where the minor value is returned. If NULL then this value will not be returned.
[in]patcha pointer to where the patch value is returned. If NULL then this value will not be returned.
kv_error_t kv_proxy_version ( kv_store_t store,
const char **  versionp 
)

Returns the version information of proxy that the driver connected to.

Parameters
[in]storeThe store handle.
[out]versionpThe output version information, the version information is owned by store handle and released implicitly when it is released.
Returns
KV_SUCCESS on success, and an error code (a negative number) on failure.