1use super::*;
2
3use {CString, Error, CommandHandle, WalletHandle, PoolHandle};
4
5extern {
6
7 #[no_mangle]
8 pub fn indy_get_schema(command_handle: CommandHandle,
9 pool_handle: PoolHandle,
10 wallet_handle: WalletHandle,
11 submitter_did: CString,
12 id: CString,
13 options_json: CString,
14 cb: Option<ResponseStringCB>) -> Error;
15
16 #[no_mangle]
17 pub fn indy_get_cred_def(command_handle: CommandHandle,
18 pool_handle: PoolHandle,
19 wallet_handle: WalletHandle,
20 submitter_did: CString,
21 id: CString,
22 options_json: CString,
23 cb: Option<ResponseStringCB>) -> Error;
24
25 #[no_mangle]
26 pub fn indy_purge_schema_cache(command_handle: CommandHandle,
27 wallet_handle: WalletHandle,
28 options_json: CString,
29 cb: Option<ResponseEmptyCB>) -> Error;
30
31 #[no_mangle]
32 pub fn indy_purge_cred_def_cache(command_handle: CommandHandle,
33 wallet_handle: WalletHandle,
34 options_json: CString,
35 cb: Option<ResponseEmptyCB>) -> Error;
36}