home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / biblioteki / asyncio / src / requeuepacket.c < prev    next >
C/C++ Source or Header  |  1997-02-18  |  340b  |  17 lines

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