kv_operation_get_abort_on_failure()

#include <kvstore.h>

kv_int_t 
kv_operation_get_abort_on_failure(const kv_operations_t *operations,
                                  kv_int_t index) 

Returns whether a failure for the identified operation causes the entire sequence of operations to fail. If the entire sequence will fail, then this function returns 1. If the index parameter is out of range, this function returns KV_NO_SUCH_OBJECT.

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.