home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / dev / c / AsyncIO.lha / AsyncIO / src / RequeuePacket.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-16  |  339 b   |  16 lines

  1. #include "async.h"
  2.  
  3. /* this function puts the packet back on the message list of our
  4.  * message port.
  5.  */
  6. VOID
  7. AS_RequeuePacket( AsyncFile *file )
  8. {
  9. #ifdef ASIO_NOEXTERNALS
  10.     struct ExecBase    *SysBase = file->af_SysBase;
  11. #endif
  12.  
  13.     AddHead( &file->af_PacketPort.mp_MsgList, &file->af_Packet.sp_Msg.mn_Node );
  14.     file->af_PacketPending = TRUE;
  15. }
  16.