home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / exec / nodes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  1018 b   |  64 lines

  1. #ifndef EXEC_NODES_H
  2. #define EXEC_NODES_H
  3. /*
  4. ** $Filename: exec/nodes.h $
  5. ** $Release: 2.04 Includes, V37.4 $
  6. ** $Revision: 36.11 $
  7. ** $Date: 91/01/09 $
  8. **
  9. ** Nodes & Node type identifiers.
  10. **
  11. ** (C) Copyright 1985-1991 Commodore-Amiga, Inc.
  12. ** All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_TYPES_H
  16. #include "exec/types.h"
  17. #endif 
  18.  
  19.  
  20.  
  21.  
  22. struct Node {
  23.  struct Node *ln_Succ; 
  24.  struct Node *ln_Pred; 
  25.  UBYTE ln_Type;
  26.  BYTE ln_Pri; 
  27.  char *ln_Name; 
  28. }; 
  29.  
  30.  
  31. struct MinNode {
  32.  struct MinNode *mln_Succ;
  33.  struct MinNode *mln_Pred;
  34. };
  35.  
  36.  
  37.  
  38.  
  39. #define NT_UNKNOWN 0
  40. #define NT_TASK 1 
  41. #define NT_INTERRUPT 2
  42. #define NT_DEVICE 3
  43. #define NT_MSGPORT 4
  44. #define NT_MESSAGE 5 
  45. #define NT_FREEMSG 6
  46. #define NT_REPLYMSG 7 
  47. #define NT_RESOURCE 8
  48. #define NT_LIBRARY 9
  49. #define NT_MEMORY 10
  50. #define NT_SOFTINT 11 
  51. #define NT_FONT 12
  52. #define NT_PROCESS 13 
  53. #define NT_SEMAPHORE 14
  54. #define NT_SIGNALSEM 15 
  55. #define NT_BOOTNODE 16
  56. #define NT_KICKMEM 17
  57. #define NT_GRAPHICS 18
  58. #define NT_DEATHMESSAGE 19
  59.  
  60. #define NT_USER 254 
  61. #define NT_EXTENDED 255
  62.  
  63. #endif 
  64.