kv_operation_get_key()

#include <kvstore.h>

const kv_key_t *
kv_operation_get_key(const kv_operations_t *operations,
                     kv_int_t index) 

Returns the key associated with the operation. If the index parameter is out of range, this function returns NULL.

Parameters

  • operations

    The operations parameter is the operation sequence to which the operation in question belongs.

  • index

    The index parameter identifies the exact operation in the sequence that you want to examine.