Wanderer/Info: fix compilation
[AROS.git] / test / uae-tmpl / nodes.h
blob331240e8c434cec092328d5afea68d6cbab8fa4c
1 #ifndef EXEC_NODES_H
2 #define EXEC_NODES_H
3 /* Copyright © 1995-2011, The AROS Development Team. All rights reserved. */
5 #include "aros_types.h"
7 typedef be_ptr<struct Node> NodePtr;
8 typedef be_ptr<struct MinNode> MinNodePtr;
10 struct Node
12 NodePtr ln_Succ,
13 ln_Pred;
14 UBYTE ln_Type;
15 BYTE ln_Pri;
16 STRPTR ln_Name;
19 struct MinNode
21 MinNodePtr mln_Succ,
22 mln_Pred;
25 /* Values for ln_Type */
26 #define NT_UNKNOWN 0 /* Unknown node */
27 #define NT_TASK 1 /* Exec task */
28 #define NT_INTERRUPT 2 /* Interrupt */
29 #define NT_DEVICE 3 /* Device */
30 #define NT_MSGPORT 4 /* Message-Port */
31 #define NT_MESSAGE 5 /* Indicates message currently pending */
32 #define NT_FREEMSG 6
33 #define NT_REPLYMSG 7 /* Message has been replied */
34 #define NT_RESOURCE 8
35 #define NT_LIBRARY 9
36 #define NT_MEMORY 10
37 #define NT_SOFTINT 11 /* Internal flag used by SoftInits */
38 #define NT_FONT 12
39 #define NT_PROCESS 13 /* AmigaDOS Process */
40 #define NT_SEMAPHORE 14
41 #define NT_SIGNALSEM 15 /* signal semaphores */
42 #define NT_BOOTNODE 16
43 #define NT_KICKMEM 17
44 #define NT_GRAPHICS 18
45 #define NT_DEATHMESSAGE 19
47 #define NT_USER 254 /* User node types work down from here */
48 #define NT_EXTENDED 255
50 #endif /* EXEC_NODES_H */