add remtask before addtask
[AROS.git] / rom / filesys / afs / filehandles.h
blob162f8e635e6a7321ee37c8bdcb68c7501be90793
1 #ifndef FILEHANDLES_H
2 #define FILEHANDLES_H
4 /*
5 Copyright © 1995-2008, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include "os.h"
11 struct Position
13 ULONG block; // current extensionblock
14 UWORD filekey; // long offset within header/extension block of
15 // next/current datablock to read
16 UWORD byte; // bytes left in a block to read
17 ULONG offset; // offset in bytes within a file
20 struct AfsHandle
22 struct AfsHandle *next;
23 ULONG header_block;
24 ULONG mode;
25 struct Position current;
26 ULONG filesize; // size of file in bytes
27 ULONG dirpos; // current position for ExamineAll
28 struct Volume *volume; // the volume the handle refers to
29 struct DosList *volumenode;
32 #endif