3 * \author John Hodge (thePowersGang)
8 //#include "internal/channels.h"
9 #include "../udi_internal.h"
12 EXPORT(udi_channel_anchor);
13 EXPORT(udi_channel_spawn);
14 EXPORT(udi_channel_set_context);
15 EXPORT(udi_channel_op_abort);
16 EXPORT(udi_channel_close);
17 EXPORT(udi_channel_event_ind);
18 EXPORT(udi_channel_event_complete);
23 void udi_channel_anchor(
24 udi_channel_anchor_call_t *callback, udi_cb_t *gcb,
25 udi_channel_t channel, udi_index_t ops_idx, void *channel_context
28 Warning("%s Unimplemented", __func__);
33 extern void udi_channel_spawn(
34 udi_channel_spawn_call_t *callback, udi_cb_t *gcb,
35 udi_channel_t channel, udi_index_t spawn_idx,
36 udi_index_t ops_idx, void *channel_context
39 Warning("%s Unimplemented", __func__);
45 void udi_channel_set_context(
46 udi_channel_t target_channel, void *channel_context
49 Warning("%s Unimplemented", __func__);
52 void udi_channel_op_abort(
53 udi_channel_t target_channel, udi_cb_t *orig_cb
56 Warning("%s Unimplemented", __func__);
59 void udi_channel_close(udi_channel_t channel)
61 Warning("%s Unimplemented", __func__);
64 void udi_channel_event_ind(udi_channel_event_cb_t *cb)
66 LOG("cb=%p{...}", cb);
68 udi_channel_event_ind_op_t *channel_event_ind_op;
69 } *ops = UDI_int_ChannelPrepForCall( UDI_GCB(cb), NULL, 0 );
71 Log_Warning("UDI", "udi_channel_event_ind on wrong channel type");
75 // UDI_int_MakeDeferredCb( UDI_GCB(cb), ops->channel_event_ind_op );
77 UDI_int_ChannelReleaseFromCall( UDI_GCB(cb) );
78 ops->channel_event_ind_op(cb);
81 void udi_channel_event_complete(udi_channel_event_cb_t *cb, udi_status_t status)