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