2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
6 #ifndef PARALLEL_HIDD_INTERN_H
7 #define PARALLEL_HIDD_INTERN_H
11 #ifndef EXEC_LIBRARIES_H
12 # include <exec/libraries.h>
17 #ifndef HIDD_PARALLEL_H
18 # include <hidd/parallel.h>
22 #define PAR_MAX_UNITS 1
24 struct HIDDParallelData
26 OOP_Class
*ParallelHIDDClass
;
28 OOP_Object
*ParallelUnits
[PAR_MAX_UNITS
];
33 struct class_static_data
35 OOP_Class
*parallelhiddclass
;
36 OOP_Class
*parallelunitclass
;
39 struct HIDDParallelUnitData
41 ULONG (*DataWriteCallBack
) (ULONG unitnum
, APTR userdata
);
42 ULONG (*DataReceivedCallBack
)(UBYTE
*buffer
, ULONG len
, ULONG unitnum
, APTR userdata
);
43 VOID
*DataWriteUserData
;
44 VOID
*DataReceivedUserData
;
47 struct Interrupt parint
;
48 struct Resource
*ciares
;
54 struct IntHIDDParallelBase
56 struct Library hdg_LibNode
;
57 struct Library
*hdg_UtilityBase
;
59 struct class_static_data hdg_csd
;
63 #define CSD(x) ((struct class_static_data *)x)
65 #endif /* PARALLEL_HIDD_INTERN_H */