alsa.audio: build the bridge link lib only for linux architecture
[AROS.git] / arch / all-unix / devs / unixio / unixio_device.h
blob5fcfc525a4655cafb1bb682b34304a8218903023
1 #include <exec/devices.h>
2 #include <oop/oop.h>
4 struct UnitData
6 struct Node unitNode;
7 IPTR fd;
8 OOP_Object *unixio;
9 ULONG usecount;
10 struct MinList readQueue;
11 struct MinList writeQueue;
12 ULONG writeLength;
13 void (*errorCallback)(struct IOStdReq *req, int err);
14 BOOL stopped;
15 BOOL eofmode;
16 unsigned char termarray[8];
17 char unitName[1];
20 struct UnixDevice
22 struct Device dev;
23 APTR hostlib;
24 struct SignalSemaphore sigsem;
25 struct MinList units;
26 OOP_Object *unixio;
27 int (*raise)(int sig);
28 struct LibcInterface *iface;