grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / filesys / afs / filehandles2.h
blob6a2728eb2d3607b0af86de0bf3d693077366c532
1 #ifndef FILEHANDLES2_H
2 #define FILEHANDLES2_H
4 /*
5 Copyright © 1995-2008, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include "os.h"
10 #include "cache.h"
11 #include "volumes.h"
13 struct AfsHandle *createDir(struct AFSBase *, struct AfsHandle *, CONST_STRPTR, ULONG, SIPTR *error);
14 ULONG renameObject(struct AFSBase *, struct AfsHandle *, CONST_STRPTR, CONST_STRPTR);
15 ULONG deleteObject(struct AFSBase *, struct AfsHandle *, CONST_STRPTR);
16 ULONG deleteFileRemainder(struct AFSBase *, struct AfsHandle *);
17 ULONG setHeaderDate(struct AFSBase *, struct Volume *, struct BlockCache *, struct DateStamp *);
18 ULONG setComment(struct AFSBase *, struct AfsHandle *, CONST_STRPTR, CONST_STRPTR);
19 ULONG setProtect(struct AFSBase *, struct AfsHandle *, CONST_STRPTR, ULONG);
20 ULONG setDate(struct AFSBase *, struct AfsHandle *, CONST_STRPTR, struct DateStamp *);
22 struct BlockCache *getDirBlockBuffer(struct AFSBase *, struct AfsHandle *, CONST_STRPTR, STRPTR, SIPTR *error);
23 struct BlockCache *createNewEntry(struct AFSBase *, struct Volume *, ULONG, CONST_STRPTR, struct BlockCache *, ULONG, SIPTR *error);
25 #endif