kv_get_key_uri()

#include <kvstore.h>

const char *
kv_get_key_uri(const kv_key_t *key)

Returns a string representing the key's major and minor path components. See kv_create_key_from_uri() for a description of the string's syntax.

Note that the string returned by this function is owned by the key structure, and is valid until the key is released.

Parameters

  • key

    The key parameter is the key structure from which you want to obtain the path URI.