home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 032.lha / include / exec / ports.g < prev    next >
Text File  |  1987-05-16  |  748b  |  37 lines

  1. type
  2.     Node_t = unknown 14,
  3.     List_t = unknown 14,
  4.  
  5.     MsgPort_t = struct {
  6.     Node_t mp_Node;
  7.     short mp_Flags;
  8.     short mp_SigBit;
  9.     *Task_t mp_SigTask;
  10.     List_t mp_MsgList;
  11.     };
  12.  
  13. byte
  14.     PF_ACTION          = 3,
  15.  
  16.     PA_SIGNAL          = 0,
  17.     PA_SOFTINT          = 1,
  18.     PA_IGNORE          = 2;
  19.  
  20. type
  21.     Message_t = struct {
  22.     Node_t mn_Node;
  23.     *MsgPort_t mn_ReplyPort;
  24.     uint mn_Length;
  25.     };
  26.  
  27. extern
  28.     AddPort(*MsgPort_t port)void,
  29.     CreatePort(*char name; short pri)*MsgPort_t,
  30.     DeletePort(*MsgPort_t port)void,
  31.     FindPort(*char name)*MsgPort_t,
  32.     GetMsg(*MsgPort_t port)*Message_t,
  33.     PutMsg(*MsgPort_t port; *Message_t msg)void,
  34.     RemPort(*MsgPort_t port)void,
  35.     ReplyMsg(*Message_t msg)void,
  36.     WaitPort(*MsgPort_t port)*Message_t;
  37.