13 #define NATIVE_FILE 8001
27 struct nativeFunctions
{
28 /* called by adfMount() */
29 RETCODE (*adfInitDevice
)(struct Device
*, char*,BOOL
);
30 /* called by adfReadBlock() */
31 RETCODE (*adfNativeReadSector
)(struct Device
*, long, int, unsigned char*);
32 /* called by adfWriteBlock() */
33 RETCODE (*adfNativeWriteSector
)(struct Device
*, long, int, unsigned char*);
34 /* called by adfMount() */
35 BOOL (*adfIsDevNative
)(char*);
36 /* called by adfUnMount() */
37 RETCODE (*adfReleaseDevice
)();
40 void adfInitNativeFct();
43 RETCODE
myReadSector(struct Device
*dev
, long n
, int size
, unsigned char* buf
);
44 RETCODE
myWriteSector(struct Device
*dev
, long n
, int size
, unsigned char* buf
);
45 RETCODE
myInitDevice(struct Device
*dev
, char* name
,BOOL
);
46 RETCODE
myReleaseDevice(struct Device
*dev
);
47 BOOL
myIsDevNative(char*);
49 #endif /* ADF_NATIV_H */
51 /*#######################################################################################*/