Make sure __u64 is defined.
[AROS.git] / tools / adflib / adf_disk.h
blob20432ab02d5c9d6155de10033cf1b3982acfa97c
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,
22 char* volName, int volType );
24 /*void adfReadBitmap(struct Volume* , ULONG nBlock, struct bRootBlock* root);
25 void adfUpdateBitmap(struct Volume*);
27 PREFIX RETCODE adfReadBlock(struct Volume* , ULONG nSect, unsigned char* buf);
28 PREFIX RETCODE adfWriteBlock(struct Volume* , ULONG nSect, unsigned char* buf);
30 #endif /* _ADF_DISK_H */
32 /*##########################################################################*/