More work on UDI support, still doesn't load pseudud yet
[tpg/acess2.git] / Modules / UDI / include / udi_cb.h
1 /**
2  * \file udi_cb.h
3  */
4 #ifndef _UDI_CB_H_
5 #define _UDI_CB_H_
6
7 typedef struct udi_cb_s udi_cb_t;
8
9 /**
10  * \brief Describes a generic control block
11  * \note Semi-opaque
12  */
13 struct udi_cb_s
14 {
15         /**
16          * \brief Channel associated with the control block
17          */
18         udi_channel_t   channel;
19         /**
20          * \brief Current state
21          * \note Driver changable
22          */
23         void    *context;
24         /**
25          * \brief CB's scratch area
26          */
27         void    *scratch;
28         /**
29          * \brief ???
30          */
31         void    *initiator_context;
32         /**
33          * \brief Request Handle?
34          */
35         udi_origin_t    origin;
36 };
37
38
39 #endif

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