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
use super::*;
use {CString, Error, Handle};
extern {
#[no_mangle]
pub fn indy_is_pairwise_exists(command_handle: Handle,
wallet_handle: Handle,
their_did: CString,
cb: Option<ResponseBoolCB>) -> Error;
#[no_mangle]
pub fn indy_create_pairwise(command_handle: Handle,
wallet_handle: Handle,
their_did: CString,
my_did: CString,
metadata: CString,
cb: Option<ResponseEmptyCB>) -> Error;
#[no_mangle]
pub fn indy_list_pairwise(command_handle: Handle,
wallet_handle: Handle,
cb: Option<ResponseStringCB>) -> Error;
#[no_mangle]
pub fn indy_get_pairwise(command_handle: Handle,
wallet_handle: Handle,
their_did: CString,
cb: Option<ResponseStringCB>) -> Error;
#[no_mangle]
pub fn indy_set_pairwise_metadata(command_handle: Handle,
wallet_handle: Handle,
their_did: CString,
metadata: CString,
cb: Option<ResponseEmptyCB>) -> Error;
}