updated to grub2-git 20150201. host's using clang can now build pc-x86 based aros...
[AROS.git] / tools / adflib / adf_disk.h
blobd7890ce1ae71ce6286055fb7e1694e6d2d417465
1 #ifndef _ADF_DISK_H
2 #define _ADF_DISK_H 1
4 /*
5 * ADF Library. (C) 1997-1999 Laurent Clevy
7 * adf_disk.h
9 */
11 #include "adf_str.h"
12 #include "adf_defs.h"
14 PREFIX RETCODE adfInstallBootBlock(struct Volume *vol,unsigned char*);
16 PREFIX BOOL isSectNumValid(struct Volume *vol, SECTNUM nSect);
18 PREFIX struct Volume* adfMount( struct Device *dev, int nPart, BOOL readOnly );
19 PREFIX void adfUnMount(struct Volume *vol);
20 PREFIX void adfVolumeInfo(struct Volume *vol);
21 struct Volume* adfCreateVol( struct Device* dev, ULONG startCyl, ULONG lenCyl, int reserved, char* volName, int volType );
23 /*void adfReadBitmap(struct Volume* , ULONG nBlock, struct bRootBlock* root);
24 void adfUpdateBitmap(struct Volume*);
26 PREFIX RETCODE adfReadBlock(struct Volume* , ULONG nSect, unsigned char* buf);
27 PREFIX RETCODE adfWriteBlock(struct Volume* , ULONG nSect, unsigned char* buf);
29 #endif /* _ADF_DISK_H */
31 /*##########################################################################*/