1 #ifndef _DEVICEIO_PROTOS_H
2 #define _DEVICEIO_PROTOS_H
4 #include <exec/types.h>
5 #include <exec/tasks.h>
6 #include <dos/filehandler.h>
11 UBYTE
isdiskpresent(void);
12 LONG
writeprotection(void);
13 ULONG
deviceapiused(void);
15 LONG
transfer(UWORD action
, UBYTE
*buffer
, ULONG blockoffset
, ULONG blocklength
);
17 LONG
initdeviceio(UBYTE
*devicename
, IPTR unit
, ULONG flags
, struct DosEnvec
*de
);
18 void cleanupdeviceio(void);
20 LONG
addchangeint(struct Task
*task
, ULONG signal
);
21 void removechangeint(void);
22 ULONG
getchange(void);
24 void changegeometry(struct DosEnvec
*de
);
26 #endif // _DEVICEIO_PROTOS_H