home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff294.lzh / DNet / amiga / lib / dnaaccept.c < prev    next >
C/C++ Source or Header  |  1989-12-11  |  357b  |  22 lines

  1.  
  2. /*
  3.  *  DNAAccept.C
  4.  */
  5.  
  6. #include "lib.h"
  7.  
  8. int
  9. DNAAccept(lisport)
  10. PORT *lisport;
  11. {
  12.     IOSTD *ior;
  13.  
  14.     if (ior = (IOSTD *)GetMsg(lisport)) {
  15.     ior->io_Error = 1;
  16.     ReplyMsg((MSG *)ior);
  17.     }
  18.     if (lisport->mp_MsgList.lh_Head != (NODE *)&lisport->mp_MsgList.lh_Tail)
  19.     SetSignal(1 << lisport->mp_SigBit, 1 << lisport->mp_SigBit);
  20.     return(ior != NULL);
  21. }
  22.