added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / devs / afs / filehandles1.h
blobb115722b1b65ea7df16e84feb57df0ac2e436bf8
1 #ifndef FILEHANDLES1_H
2 #define FILEHANDLES1_H
4 /*
5 Copyright © 1995-2003, 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 *, STRPTR, ULONG);
13 void closef(struct AFSBase *, struct AfsHandle *);
14 LONG readf(struct AFSBase *, struct AfsHandle *, void *, ULONG);
15 LONG writef(struct AFSBase *, struct AfsHandle *, void *, ULONG);
16 LONG seek(struct AFSBase *, struct AfsHandle *, LONG, LONG);
17 struct AfsHandle *openfile(struct AFSBase *, struct AfsHandle *, STRPTR, ULONG, ULONG);
19 struct BlockCache *getHeaderBlock(struct AFSBase *, struct Volume *,STRPTR, struct BlockCache *, ULONG *);
20 struct BlockCache *findBlock(struct AFSBase *, struct AfsHandle *, STRPTR name, ULONG *);
21 struct AfsHandle *getHandle(struct AFSBase *, struct Volume *, struct BlockCache *, ULONG);
22 struct AfsHandle *findHandle(struct Volume *, ULONG);
23 #endif