2 * ADF Library. (C) 1997-1998 Laurent Clevy
19 #define SWBL_BOOTBLOCK 0
29 #define SWBL_BITMAPE 5
35 #define SWBL_BOOT 12 /* AmigaOS 4 Second Level Boot blocks */
37 RETCODE
adfReadRootBlock(struct Volume
*, ULONG nSect
, struct bRootBlock
* root
);
38 RETCODE
adfWriteRootBlock(struct Volume
* vol
, ULONG nSect
, struct bRootBlock
* root
);
39 RETCODE
adfReadBootBlock(struct Volume
*, struct bBootBlock
* boot
);
40 RETCODE
adfWriteBootBlock(struct Volume
* vol
, struct bBootBlock
* boot
);
42 ULONG
adfBootSum(unsigned char *buf
);
43 ULONG
adfNormalSum( unsigned char *buf
, int offset
, int bufLen
);
45 void swapEndian( unsigned char *buf
, int type
);
47 #endif /* _ADF_RAW_H */
49 /*##########################################################################*/