alsa.audio: move handling of XRUN when writting to the slave task
[AROS.git] / rom / filesys / afs / filehandles1.h
blob086b0017b27aa1000c056e5d0babe675f4c85de1
1 #ifndef FILEHANDLES1_H
2 #define FILEHANDLES1_H
4 /*
5 Copyright © 1995-2008, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include "os.h"
10 #include "cache.h"
12 struct AfsHandle *openf(struct AFSBase *, struct AfsHandle *, CONST_STRPTR, ULONG, SIPTR *error);
13 void closef(struct AFSBase *, struct AfsHandle *);
14 LONG readf(struct AFSBase *, struct AfsHandle *, void *, ULONG, SIPTR *error);
15 LONG writef(struct AFSBase *, struct AfsHandle *, void *, ULONG, SIPTR *error);
16 LONG seek(struct AFSBase *, struct AfsHandle *, LONG, LONG, SIPTR *error);
17 LONG setFileSize(struct AFSBase *, struct AfsHandle *, LONG, LONG, SIPTR *error);
18 struct AfsHandle *openfile(struct AFSBase *, struct AfsHandle *, CONST_STRPTR, ULONG, ULONG, SIPTR *error);
20 struct BlockCache *getHeaderBlock(struct AFSBase *, struct Volume *,CONST_STRPTR, struct BlockCache *, ULONG *, SIPTR *error);
21 struct BlockCache *findBlock(struct AFSBase *, struct AfsHandle *, CONST_STRPTR name, ULONG *, SIPTR *error);
22 struct AfsHandle *getHandle(struct AFSBase *, struct Volume *, struct BlockCache *, ULONG, SIPTR *error);
23 struct AfsHandle *findHandle(struct Volume *, ULONG);
24 #endif