home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / pOSxA.lzx / pOSxA / exec / nodes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-12  |  1.3 KB  |  60 lines

  1. #ifndef    EXEC_NODES_H
  2. #define    EXEC_NODES_H
  3.  
  4. /*******************************************************************
  5.  pOS / Amiga adapt
  6. *******************************************************************/
  7.  
  8. #ifndef EXEC_TYPES_H
  9. #include <exec/types.h>
  10. #endif
  11. #ifndef __INC_POS_PEXEC_LIST_H
  12. #include "p:pExec/List.h"
  13. #endif
  14. #ifndef __INC_POS_PEXEC_NODE_H
  15. #include "p:pExec/Node.h"
  16. #endif
  17.  
  18.  
  19. struct Node
  20. {
  21.   struct Node *ln_Succ;
  22.   struct Node *ln_Pred;
  23.   UBYTE        ln_Type;
  24.   BYTE         ln_Pri;
  25.   char        *ln_Name;
  26. };
  27.  
  28. struct MinNode
  29. {
  30.   struct MinNode* mln_Succ;
  31.   struct MinNode* mln_Pred;
  32. };
  33.  
  34.  
  35. #define NT_UNKNOWN    NTYP_UNKNOWN
  36. #define NT_TASK        NTYP_TASK
  37. #define NT_INTERRUPT    NTYP_INTERRUPT
  38. #define NT_DEVICE    NTYP_DEVICE
  39. #define NT_MSGPORT    NTYP_MSGPORT
  40. #define NT_MESSAGE    NTYP_MESSAGE
  41. #define NT_FREEMSG    NTYP_FREEMSG
  42. #define NT_REPLYMSG    NTYP_REPLYMSG
  43. #define NT_RESOURCE    NTYP_RESOURCE
  44. #define NT_LIBRARY    NTYP_LIBRARY
  45. #define NT_MEMORY    NTYP_MEMORY
  46. #define NT_SOFTINT    NTYP_SOFTINT
  47. #define NT_FONT        NTYP_FONT
  48. #define NT_PROCESS    NTYP_PROCESS
  49. #define NT_SEMAPHORE    NTYP_SEMAPHORE
  50. #define NT_SIGNALSEM    NTYP_SIGNALSEM
  51. #define NT_BOOTNODE    NTYP_BOOTNODE
  52. #define NT_KICKMEM    NTYP_KICKMEM
  53. #define NT_GRAPHICS    NTYP_GRAPHICS
  54. #define NT_DEATHMESSAGE    NTYP_DEATHMESSAGE
  55.  
  56. #define NT_USER        NTYP_USER
  57. #define NT_EXTENDED    NTYP_EXTENDED
  58.  
  59. #endif    /* EXEC_NODES_H */
  60.