1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
use super::*; use {CString, Error, Handle}; extern { #[no_mangle] pub fn indy_create_pool_ledger_config(command_handle: Handle, config_name: CString, config: CString, cb: Option<ResponseEmptyCB>) -> Error; #[no_mangle] pub fn indy_open_pool_ledger(command_handle: Handle, config_name: CString, config: CString, cb: Option<ResponseI32CB>) -> Error; #[no_mangle] pub fn indy_refresh_pool_ledger(command_handle: Handle, handle: Handle, cb: Option<ResponseEmptyCB>) -> Error; #[no_mangle] pub fn indy_list_pools(command_handle: Handle, cb: Option<ResponseStringCB>) -> Error; #[no_mangle] pub fn indy_close_pool_ledger(command_handle: Handle, handle: Handle, cb: Option<ResponseEmptyCB>) -> Error; #[no_mangle] pub fn indy_delete_pool_ledger_config(command_handle: Handle, config_name: CString, cb: Option<ResponseEmptyCB>) -> Error; #[no_mangle] pub fn indy_set_protocol_version(command_handle: Handle, protocol_version: usize, cb: Option<ResponseEmptyCB>) -> Error; }