4 #include <intuition/intuition.h>
5 #include <intuition/intuitionbase.h>
6 #include <libraries/mui.h>
7 #include <libraries/gadtools.h>
8 #include <exec/devices.h>
14 #define ID_ABOUT 0x55555555
15 #define ID_STORE_CONFIG 0xaaaaaaaa
16 #define ID_DEF_CONFIG 0xaaaaaaab
23 ULONG cdc_DefaultUnit
;
34 struct Library np_Library
; /* standard */
35 UWORD np_Flags
; /* various flags */
37 BPTR np_SegList
; /* device seglist */
38 struct NepBTBase
*np_ClsBase
; /* pointer to class base */
39 struct Library
*np_UtilityBase
; /* cached utilitybase */
44 struct Unit ncp_Unit
; /* Unit structure */
45 ULONG ncp_UnitNo
; /* Unit number */
46 struct NepBTBase
*ncp_ClsBase
; /* Up linkage */
47 struct NepBTDevBase
*ncp_DevBase
; /* Device base */
48 struct Library
*ncp_Base
; /* Poseidon base */
49 struct PsdDevice
*ncp_Device
; /* Up linkage */
50 struct PsdConfig
*ncp_Config
; /* Up linkage */
51 struct PsdInterface
*ncp_Interface
; /* Up linkage */
52 struct Task
*ncp_ReadySigTask
; /* Task to send ready signal to */
53 LONG ncp_ReadySignal
; /* Signal to send when ready */
54 struct Task
*ncp_Task
; /* Subtask */
55 struct MsgPort
*ncp_TaskMsgPort
; /* Message Port of Subtask */
57 struct PsdPipe
*ncp_EPCmdPipe
; /* Endpoint 0 pipe */
58 struct PsdEndpoint
*ncp_EPACLOut
; /* Endpoint 1 */
59 struct PsdPipe
*ncp_EPACLOutPipe
; /* Endpoint 1 pipe */
60 struct PsdEndpoint
*ncp_EPACLIn
; /* Endpoint 2 */
61 struct PsdPipe
*ncp_EPACLInPipe
; /* Endpoint 2 pipe */
62 IPTR ncp_EPACLInMaxPktSize
; /* Endpoint 2 max pkt size */
63 struct PsdEndpoint
*ncp_EPEventInt
; /* Interrupt Endpoint */
64 struct PsdPipe
*ncp_EPEventIntPipe
; /* Interrupt pipe */
65 IPTR ncp_EPEventIntMaxPktSize
; /* Endpoint 2 max pkt size */
67 struct MsgPort
*ncp_DevMsgPort
; /* Message Port for IOParReq */
68 UWORD ncp_UnitProdID
; /* ProductID of unit */
69 UWORD ncp_UnitVendorID
; /* VendorID of unit */
70 UWORD ncp_UnitCfgNum
; /* Config of unit */
71 UWORD ncp_UnitIfNum
; /* Interface number */
72 UWORD ncp_UnitAltIfNum
; /* Alternate interface number */
73 BOOL ncp_DenyRequests
; /* Do not accept further IO requests */
77 struct IOBTHCIReq
*ncp_ReadPending
; /* read IORequest pending */
78 struct IOBTHCIReq
*ncp_WritePending
; /* write IORequest pending */
79 struct List ncp_ReadQueue
; /* List of read requests */
80 struct List ncp_WriteQueue
; /* List of write requests */
82 struct MsgPort
*ncp_EventMsgPort
; /* Message Port to relay events to */
83 struct MsgPort
*ncp_EventReplyPort
; /* Reply port for events */
84 ULONG ncp_EventsPending
; /* number of events not replied yet */
85 struct BTHCIEventMsg
*ncp_CurrEventMsg
; /* current event message being filled */
87 STRPTR ncp_DevIDString
; /* Device ID String */
88 STRPTR ncp_IfIDString
; /* Interface ID String */
90 BOOL ncp_UsingDefaultCfg
;
91 struct ClsDevCfg
*ncp_CDC
;
93 struct Library
*ncp_MUIBase
; /* MUI master base */
94 struct Library
*ncp_PsdBase
; /* Poseidon base */
95 struct Library
*ncp_IntBase
; /* Intuition base */
96 struct Task
*ncp_GUITask
; /* GUI Task */
97 struct NepClassHid
*ncp_GUIBinding
; /* Window of binding that's open */
100 Object
*ncp_MainWindow
;
103 Object
*ncp_StackAutoObj
;
106 Object
*ncp_SetDefaultObj
;
107 Object
*ncp_CloseObj
;
111 Object
*ncp_SetDefaultMI
;
112 Object
*ncp_MUIPrefsMI
;
118 struct Library nh_Library
; /* standard */
119 UWORD nh_Flags
; /* various flags */
121 struct Library
*nh_UtilityBase
; /* utility base */
123 struct NepBTDevBase
*nh_DevBase
; /* base of device created */
124 struct List nh_Units
; /* List of units available */
125 APTR nh_MemPool
; /* Memory Pool */
127 BOOL nh_UsingDefaultCfg
;
128 struct NepClassBT nh_DummyNCP
; /* Dummy ncp for default config */
132 #endif /* RAWWRAP_H */