#include <kvstore.h> kv_error_t kv_get(kv_store_t *store, const kv_key_t *key, kv_value_t **valuep)
Get the value associated with the key. This function uses the store's default consistency policy and timeout value. To use values other than the defaults, use kv_get_with_options() instead.
The valuep parameter references memory into which is copied the value portion of the retrieved record. Release the resources used by this structure using kv_release_value().
This parameter must either be 0
, or
it must point to a previously used, not-yet-released
kv_value_t
structure.