Indentation fix, cleanup.
[AROS.git] / compiler / include / resources / filesysres.h
blobc605805a3f1c04962b70a23b11d95fec0f2bda69
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef RESOURCES_FILESYSRES_H
7 #define RESOURCES_FILESYSRES_H
9 #include <exec/lists.h>
10 #include <dos/bptr.h>
12 #define FSRNAME "FileSystem.resource"
14 struct FileSysResource
16 struct Node fsr_Node;
17 char *fsr_Creator;
18 struct List fsr_FileSysEntries;
21 struct FileSysEntry
23 struct Node fse_Node;
24 ULONG fse_DosType;
25 ULONG fse_Version;
26 ULONG fse_PatchFlags;
27 ULONG fse_Type;
28 IPTR fse_Task;
29 BPTR fse_Lock;
30 BSTR fse_Handler;
31 ULONG fse_StackSize;
32 LONG fse_Priority;
33 BPTR fse_Startup;
34 BPTR fse_SegList;
35 BPTR fse_GlobalVec;
38 /* fse_PatchFlags - when set, the corresponding
39 * field from struct FileSysEntry is used instead
40 * of the DOS defaults.
42 #define FSEB_TYPE 0
43 #define FSEF_TYPE (1 << 0)
44 #define FSEB_TASK 1
45 #define FSEF_TASK (1 << 1)
46 #define FSEB_LOCK 2
47 #define FSEF_LOCK (1 << 2)
48 #define FSEB_HANDLER 3
49 #define FSEF_HANDLER (1 << 3)
50 #define FSEB_STACKSIZE 4
51 #define FSEF_STACKSIZE (1 << 4)
52 #define FSEB_PRIORITY 5
53 #define FSEF_PRIORITY (1 << 5)
54 #define FSEB_STARTUP 6
55 #define FSEF_STARTUP (1 << 6)
56 #define FSEB_SEGLIST 7
57 #define FSEF_SEGLIST (1 << 7)
58 #define FSEB_GLOBALVEC 8
59 #define FSEF_GLOBALVEC (1 << 8)
61 #endif /* RESOURCES_FILESYSRES_H */