Huge refactor to prep for moving the daemon over to the plugin architecture
parent: tbd commit: 5df753c
1 | use ; |
2 | use crate:: |
3 | , |
4 | , | PluginInitializationState
5 | ; |
6 | use Debug; |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | pub register_object: |
15 | unsafe extern "C" fn , |
16 | pub register_operation: unsafe extern "C" fn |
17 | *mut PluginInitializationState, |
18 | &'static str, |
19 | &'static str, |
20 | OperationVTable, |
21 | , |
22 | pub register_setting: unsafe extern "C" fn |
23 | *mut PluginInitializationState, |
24 | &'static str, |
25 | &'static str, |
26 | SettingVtable, |
27 | , |
28 | pub register_value: unsafe extern "C" fn |
29 | *mut PluginInitializationState, |
30 | &'static str, |
31 | &'static str, |
32 | ValueVTable, |
33 | , |
34 | |
35 | pub operation_handler: unsafe extern "C" fn |
36 | *mut PluginInitializationState, |
37 | &'static str, |
38 | &'static str, |
39 | OperationHandlerCallback, |
40 | , |
41 | |
42 | pub value_getter: unsafe extern "C" fn |
43 | *mut PluginInitializationState, |
44 | &'static str, |
45 | &'static str, |
46 | ValueGetterCallback, |
47 | , |
48 | |
49 | pub setting_getter: unsafe extern "C" fn |
50 | *mut PluginInitializationState, |
51 | &'static str, |
52 | &'static str, |
53 | SettingGetterCallback, |
54 | , |
55 | |
56 | |
57 | |
58 | |
59 | f.debug_struct .finish |
60 | |
61 | |
62 | |
63 | unsafe |
64 | unsafe |
65 |