rust_libindy_wrapper/native/
non_secrets.rs1use super::*;
2
3use native::{Error, Handle, CString};
4
5extern {
6 #[no_mangle]
7 pub fn indy_add_wallet_record(command_handle: Handle,
8 wallet_handle: Handle,
9 xtype: CString,
10 id: CString,
11 value: CString,
12 tags_json: CString,
13 cb: Option<ResponseEmptyCB>) -> Error;
14 #[no_mangle]
15 pub fn indy_update_wallet_record_value(command_handle: Handle,
16 wallet_handle: Handle,
17 xtype: CString,
18 id: CString,
19 value: CString,
20 cb: Option<ResponseEmptyCB>) -> Error;
21
22 #[no_mangle]
23 pub fn indy_update_wallet_record_tags(command_handle: Handle,
24 wallet_handle: Handle,
25 xtype: CString,
26 id: CString,
27 tags_json: CString,
28 cb: Option<ResponseEmptyCB>) -> Error;
29
30 #[no_mangle]
31 pub fn indy_add_wallet_record_tags(command_handle: Handle,
32 wallet_handle: Handle,
33 xtype: CString,
34 id: CString,
35 tags_json: CString,
36 cb: Option<ResponseEmptyCB>) -> Error;
37
38 #[no_mangle]
39 pub fn indy_delete_wallet_record_tags(command_handle: Handle,
40 wallet_handle: Handle,
41 xtype: CString,
42 id: CString,
43 tag_names_json: CString,
44 cb: Option<ResponseEmptyCB>) -> Error;
45
46 #[no_mangle]
47 pub fn indy_delete_wallet_record(command_handle: Handle,
48 wallet_handle: Handle,
49 xtype: CString,
50 id: CString,
51 cb: Option<ResponseEmptyCB>) -> Error;
52
53 #[no_mangle]
54 pub fn indy_get_wallet_record(command_handle: Handle,
55 wallet_handle: Handle,
56 xtype: CString,
57 id: CString,
58 options_json: CString,
59 cb: Option<ResponseStringCB>) -> Error;
60
61 #[no_mangle]
62 pub fn indy_open_wallet_search(command_handle: Handle,
63 wallet_handle: Handle,
64 xtype: CString,
65 query_json: CString,
66 options_json: CString,
67 cb: Option<ResponseI32CB>) -> Error;
68
69 #[no_mangle]
70 pub fn indy_fetch_wallet_search_next_records(command_handle: Handle,
71 wallet_handle: Handle,
72 wallet_search_handle: Handle,
73 count: usize,
74 cb: Option<ResponseStringCB>) -> Error;
75
76 #[no_mangle]
77 pub fn indy_close_wallet_search(command_handle: Handle,
78 wallet_search_handle: Handle,
79 cb: Option<ResponseEmptyCB>) -> Error;
80}