Function libindy_sys::indy_register_transaction_parser_for_sp [−][src]
pub unsafe extern "C" fn indy_register_transaction_parser_for_sp(
command_handle: indy_handle_t,
txn_type: *const c_char,
parse_fn: indyLedgerCustomTransactionParserCb,
free_rn: indyLedgerCustomFreeCb,
cb: indy_empty_cb
) -> indy_error_t
Register callbacks (see type description for CustomTransactionParser
and CustomFree
params
command_handle: command handle to map callback to caller context.
txn_type: type of transaction to apply parse
callback.
parse: required callback to parse reply for state proof.
free: required callback to deallocate memory.
cb: Callback that takes command result as parameter.
returns
Status of callbacks registration.
errors
Common*