Call CloseDevice() before DeleteIORequest(), and don't call
[AROS.git] / rom / filesys / afs / bitmap.h
blobac43f1111ecebb62640ccaef3bbb03842fe16d51
1 #ifndef BITMAP_H
2 #define BITMAP_H
4 /*
5 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include "os.h"
10 #include "volumes.h"
12 ULONG countUsedBlocks(struct AFSBase *, struct Volume *);
13 ULONG createNewBitmapBlocks(struct AFSBase *, struct Volume *);
14 LONG setBitmapFlag(struct AFSBase *, struct Volume *, LONG);
15 LONG invalidBitmap(struct AFSBase *, struct Volume *);
16 LONG validBitmap(struct AFSBase *, struct Volume *);
17 LONG markBlock(struct AFSBase *, struct Volume *, ULONG, ULONG);
18 ULONG allocBlock(struct AFSBase *, struct Volume *);
20 #endif