More UDI work
[tpg/acess2.git] / Modules / UDI / imc.c
1 /**
2  * \file imc.c
3  * \author John Hodge (thePowersGang)
4  */
5 #include <acess.h>
6 #include <udi.h>
7 #include <udi_imc.h>
8
9 // === CODE ===
10 /**
11  */
12 void udi_channel_anchor(
13         udi_channel_anchor_call_t *callback, udi_cb_t *gcb,
14         udi_channel_t channel, udi_index_t ops_idx, void *channel_context
15         )
16 {
17         Warning("%s Unimplemented", __func__);
18 }
19
20 /**
21  */
22 extern void udi_channel_spawn(
23         udi_channel_spawn_call_t *callback, udi_cb_t *gcb,
24         udi_channel_t channel, udi_index_t spawn_idx,
25         udi_index_t ops_idx, void *channel_context
26         )
27 {
28         Warning("%s Unimplemented", __func__);
29 }
30
31 /**
32  * 
33  */
34 void udi_channel_set_context(
35         udi_channel_t target_channel, void *channel_context
36         )
37 {
38         Warning("%s Unimplemented", __func__);
39 }
40
41 void udi_channel_op_abort(
42         udi_channel_t target_channel, udi_cb_t *orig_cb
43         )
44 {
45         Warning("%s Unimplemented", __func__);
46 }
47
48 void udi_channel_close(udi_channel_t channel)
49 {
50         Warning("%s Unimplemented", __func__);
51 }
52
53 void udi_channel_event_ind(udi_channel_event_cb_t *cb)
54 {
55         udi_channel_event_complete(cb, UDI_OK);
56 }
57
58 void udi_channel_event_complete(udi_channel_event_cb_t *cb, udi_status_t status)
59 {
60         Warning("%s Unimplemented", __func__);
61 }
62
63 // === EXPORTS ===
64 EXPORT(udi_channel_anchor);
65 EXPORT(udi_channel_spawn);
66 EXPORT(udi_channel_set_context);
67 EXPORT(udi_channel_op_abort);
68 EXPORT(udi_channel_close);
69 EXPORT(udi_channel_event_ind);
70 EXPORT(udi_channel_event_complete);

UCC git Repository :: git.ucc.asn.au