define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / tools / adflib / adf_dump.h
blobb763dcda27e6e334018e3e7b5a67179f599e1a0d
1 #ifndef ADF_DUMP_H
2 #define ADF_DUMP_H 1
4 /*
5 * ADF Library. (C) 1997-1998 Laurent Clevy
7 * adf_dump.h
9 *
12 PREFIX struct Device*
13 adfCreateDumpDevice(char* filename, long cyl, long heads, long sec);
14 PREFIX RETCODE adfCreateHdFile(struct Device* dev, char* volName, int volType);
15 BOOL adfInitDumpDevice(struct Device* dev, char* name,BOOL);
16 BOOL adfReadDumpSector(struct Device *dev, long n, int size, unsigned char* buf);
17 BOOL adfWriteDumpSector(struct Device *dev, long n, int size, unsigned char* buf);
18 void adfReleaseDumpDevice(struct Device *dev);
21 #endif /* ADF_DUMP_H */
22 /*##########################################################################*/