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

  1. #ifndef EXEC_PORTS_H
  2. #define EXEC_PORTS_H
  3. /*
  4. ** $Filename: exec/ports.h $
  5. ** $Release: 2.04 Includes, V37.4 $
  6. ** $Revision: 36.5 $
  7. ** $Date: 90/05/10 $
  8. **
  9. ** Message ports and Messages.
  10. **
  11. ** (C) Copyright 1985-1991 Commodore-Amiga, Inc.
  12. ** All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_NODES_H
  16. #include "exec/nodes.h"
  17. #endif 
  18.  
  19. #ifndef EXEC_LISTS_H
  20. #include "exec/lists.h"
  21. #endif 
  22.  
  23. #ifndef EXEC_TASKS_H
  24. #include "exec/tasks.h"
  25. #endif 
  26.  
  27.  
  28.  
  29.  
  30. struct MsgPort {
  31.  struct Node mp_Node;
  32.  UBYTE mp_Flags;
  33.  UBYTE mp_SigBit; 
  34.  void *mp_SigTask; 
  35.  struct List mp_MsgList; 
  36. };
  37.  
  38. #define mp_SoftInt mp_SigTask 
  39.  
  40.  
  41. #define PF_ACTION 3 
  42. #define PA_SIGNAL 0 
  43. #define PA_SOFTINT 1 
  44. #define PA_IGNORE 2 
  45.  
  46.  
  47.  
  48.  
  49. struct Message {
  50.  struct Node mn_Node;
  51.  struct MsgPort *mn_ReplyPort; 
  52.  UWORD mn_Length; 
  53.  
  54.  
  55. };
  56.  
  57. #endif 
  58.