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 / unix / dnet / globals.c < prev    next >
C/C++ Source or Header  |  1989-12-11  |  925b  |  45 lines

  1.  
  2. /*
  3.  *  GLOBALS.C
  4.  *
  5.  *    DNET (c)Copyright 1988, Matthew Dillon, All Rights Reserved
  6.  */
  7.  
  8. #include "dnet.h"
  9.  
  10. int Enable_Abort;
  11.  
  12. int DNet_fd = -1;    /*  Master listen socket    */
  13. PKT Pkts[9];        /*  data buffers for packets    */
  14. PKT *Raux = Pkts+8;    /*  next packet in        */
  15. PKT *RPak[4] = { Pkts+0,Pkts+1,Pkts+2,Pkts+3 };
  16. PKT *WPak[4] = { Pkts+4,Pkts+5,Pkts+6,Pkts+7 };
  17. CHAN Chan[MAXCHAN];    /*  Channels               */
  18. LIST TxList;           /*  For pending SCMD_DATA reqs.     */
  19. fd_set Fdread;
  20. fd_set Fdwrite;
  21. fd_set Fdexcept;
  22. void (*Fdstate[FD_SETSIZE])();
  23. ubyte Fdperm[FD_SETSIZE];
  24. uword FdChan[FD_SETSIZE];
  25. ubyte RcvBuf[RCVBUF];
  26. uword RcvData;
  27. uword RExpect;
  28. ubyte RTimedout;
  29. ubyte WTimedout;
  30. uword WChan;        /*  Read and Write channels        */
  31. uword RChan;
  32. uword RPStart;
  33. uword WPStart;
  34. uword WPUsed;
  35. uword RState;
  36. uword Rto_act, Wto_act;
  37. ubyte DDebug;
  38. ubyte PDebug;
  39. ubyte Restart;
  40. ubyte DeldQuit;
  41. ulong NumCon;
  42. ubyte Mode7 = 1;
  43. int WReady;
  44.  
  45.