home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / TRSICAT.LZX / CATS_CD2_TRSI / Inc&AD1.3 / Includes / exec / nodes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-12  |  996 b   |  49 lines

  1. #ifndef EXEC_NODES_H
  2. #define EXEC_NODES_H
  3. /*
  4. **    $Filename: exec/nodes.h $
  5. **    $Release: 1.3 $
  6. **
  7. **    
  8. **
  9. **    (C) Copyright 1985,1986,1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. /* normal node */
  14. struct Node { 
  15.     struct  Node *ln_Succ;
  16.     struct  Node *ln_Pred;
  17.     UBYTE   ln_Type;
  18.     BYTE    ln_Pri; 
  19.     char    *ln_Name; 
  20. };
  21.  
  22. /* stripped node -- no type checking is possible */
  23. struct MinNode {
  24.     struct MinNode *mln_Succ;
  25.     struct MinNode *mln_Pred;
  26. };
  27.  
  28.  
  29. /*----- Node Types --------*/
  30. #define NT_UNKNOWN    0 
  31. #define NT_TASK        1 
  32. #define NT_INTERRUPT    2    /* also for software interrupt node */
  33. #define NT_DEVICE    3 
  34. #define NT_MSGPORT    4 
  35. #define NT_MESSAGE    5 
  36. #define NT_FREEMSG    6 
  37. #define NT_REPLYMSG    7 
  38. #define NT_RESOURCE    8
  39. #define NT_LIBRARY    9
  40. #define NT_MEMORY    10
  41. #define NT_SOFTINT    11    /* exec private */
  42. #define NT_FONT        12
  43. #define NT_PROCESS    13
  44. #define NT_SEMAPHORE    14
  45. #define NT_SIGNALSEM    15    /* signal semaphores */
  46. #define NT_BOOTNODE    16
  47.  
  48. #endif    /* EXEC_NODES_H */
  49.