Indentation fix, cleanup.
[AROS.git] / tools / adflib / adf_cache.h
blob304416879fe0a58354f3019035efaae6bf77628a
1 #ifndef _ADF_CACHE_H
2 #define _ADF_CACHE_H 1
3 /*
4 * ADF Library. (C) 1997-1999 Laurent Clevy
6 * adf_cache.h
8 */
11 #include "adf_str.h"
13 void adfGetCacheEntry(struct bDirCacheBlock *dirc, int *p, struct CacheEntry *cEntry);
14 int adfPutCacheEntry( struct bDirCacheBlock *dirc, int *p, struct CacheEntry *cEntry);
16 struct List* adfGetDirEntCache(struct Volume *vol, SECTNUM dir, BOOL recurs);
18 RETCODE adfCreateEmptyCache(struct Volume *vol, struct bEntryBlock *parent, SECTNUM nSect);
19 RETCODE adfAddInCache(struct Volume *vol, struct bEntryBlock *parent, struct bEntryBlock *entry);
20 RETCODE adfUpdateCache(struct Volume *vol, struct bEntryBlock *parent, struct bEntryBlock *entry, BOOL);
21 RETCODE adfDelFromCache(struct Volume *vol, struct bEntryBlock *parent, SECTNUM);
23 RETCODE adfReadDirCBlock(struct Volume *vol, SECTNUM nSect, struct bDirCacheBlock *dirc);
24 RETCODE adfWriteDirCBlock(struct Volume*, ULONG, struct bDirCacheBlock* dirc);
26 #endif /* _ADF_CACHE_H */
28 /*##########################################################################*/