grub2: bring back build of aros-side grub2 tools
[AROS.git] / tools / adflib / adf_dump.h
blob8f7b99720a2ab28eded1d95bb334a4a5d8c4ab0b
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, SECTNUM n, int size, unsigned char* buf);
17 BOOL adfWriteDumpSector(struct Device *dev, SECTNUM n, int size, unsigned char* buf);
18 void adfReleaseDumpDevice(struct Device *dev);
21 #endif /* ADF_DUMP_H */
22 /*##########################################################################*/