Added "support" for the 64 bit data structures of EHCI in appendix B, in case the...
[cake.git] / tools / adflib / adf_disk.h
blob4b0255927cfd17c02db8dedb734e903fec317e1d
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 "prefix.h"
13 #include "adf_str.h"
14 #include "adf_defs.h"
16 PREFIX RETCODE adfInstallBootBlock(struct Volume *vol,unsigned char*);
18 PREFIX BOOL isSectNumValid(struct Volume *vol, SECTNUM nSect);
20 PREFIX struct Volume* adfMount( struct Device *dev, int nPart, BOOL readOnly );
21 PREFIX void adfUnMount(struct Volume *vol);
22 PREFIX void adfVolumeInfo(struct Volume *vol);
23 struct Volume* adfCreateVol( struct Device* dev, long start, long len,
24 char* volName, int volType );
26 /*void adfReadBitmap(struct Volume* , long nBlock, struct bRootBlock* root);
27 void adfUpdateBitmap(struct Volume*);
29 PREFIX RETCODE adfReadBlock(struct Volume* , long nSect, unsigned char* buf);
30 PREFIX RETCODE adfWriteBlock(struct Volume* , long nSect, unsigned char* buf);
32 #endif /* _ADF_DISK_H */
34 /*##########################################################################*/