kv_operation_get_type()

#include <kvstore.h>

kv_operation_enum 
kv_operation_get_type(const kv_operations_t *operations,
                      kv_int_t index) 

Returns the type of operation being performed in a particular step in an operation sequence. This function can return one of the following values:

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.