kv_create_operations()

#include <kvstore.h>

kv_error_t 
kv_create_operations(kv_store_t *store,
                     kv_operations_t **operations) 

Allocates a structure containing a multi-step sequence of operations to be performed by kv_execute(). Release the resources used by this sequence using kv_release_operations().

Immediately upon calling this function, you might want to call kv_operations_set_copy(). See that function's description for details.

Parameters

store

The store parameter is the handle to the store in which you want to run the sequence of operations.

operations

The operations parameter references memory into which a pointer to the allocated operations structure is copied.

See Also

Data Operations and Related Functions