kv_get_value()

#include <kvstore.h>

const unsigned char *
kv_get_value(const kv_value_t *value) 

Returns the value as a string.

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

Parameters

  • value

    The value parameter is the value structure from which you want to extract its contents as a string.