This chapter describes store open, close, store and proxy configuration functions.
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.
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] | major | a pointer to where the major value is returned. If NULL then this value will not be returned. |
[in] | minor | a pointer to where the minor value is returned. If NULL then this value will not be returned. |
[in] | patch | a pointer to where the patch value is returned. If NULL then this value will not be returned. |
Returns the version information of proxy that the driver connected to.
- Parameters
-
[in] | store | The store handle. |
[out] | versionp | The 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.