2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
9 /******************************************************************************
15 Header-file for nodes.
17 ******************************************************************************/
19 /**************************************
21 **************************************/
23 # include <exec/types.h>
27 /**************************************
29 **************************************/
31 struct __mayalias Node
;
34 struct Node
* ln_Succ
,
41 struct __mayalias MinNode
;
44 struct MinNode
* mln_Succ
,
49 /**************************************
51 **************************************/
52 /* Values for ln_Type */
53 #define NT_UNKNOWN 0 /* Unknown node */
54 #define NT_TASK 1 /* Exec task */
55 #define NT_INTERRUPT 2 /* Interrupt */
56 #define NT_DEVICE 3 /* Device */
57 #define NT_MSGPORT 4 /* Message-Port */
58 #define NT_MESSAGE 5 /* Indicates message currently pending */
60 #define NT_REPLYMSG 7 /* Message has been replied */
64 #define NT_SOFTINT 11 /* Internal flag used by SoftInts */
66 #define NT_PROCESS 13 /* AmigaDOS Process */
67 #define NT_SEMAPHORE 14
68 #define NT_SIGNALSEM 15 /* signal semaphores */
69 #define NT_BOOTNODE 16
71 #define NT_GRAPHICS 18
72 #define NT_DEATHMESSAGE 19
73 #define NT_HIDD 20 /* AROS specific */
75 #define NT_USER 254 /* User node types work down from here */
76 #define NT_EXTENDED 255
78 /***************************************
80 ****************************************/
82 #define SetNodeName(node,name) \
83 (((struct Node *)(node))->ln_Name = (char *)(name))
84 #define GetNodeName(node) \
85 (((struct Node *)(node))->ln_Name)
87 /******************************************************************************
88 ***** ENDE exec/nodes.h
89 ******************************************************************************/
91 #endif /* EXEC_NODES_H */