home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 239.lha / Unix2src.shar / dnet / globals.c < prev    next >
C/C++ Source or Header  |  1989-05-02  |  990b  |  46 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. long USecPerByte = 1000;/*  for 9600 baud.. should really set properly */
  13. int DNet_fd = -1;    /*  Master listen socket    */
  14. PKT Pkts[9];        /*  data buffers for packets    */
  15. PKT *Raux = Pkts+8;    /*  next packet in        */
  16. ubyte WCBuf[64];
  17. PKT *RPak[4] = { Pkts+0,Pkts+1,Pkts+2,Pkts+3 };
  18. PKT *WPak[4] = { Pkts+4,Pkts+5,Pkts+6,Pkts+7 };
  19. CHAN Chan[MAXCHAN];    /*  Channels               */
  20. LIST TxList;           /*  For pending SCMD_DATA reqs.     */
  21. fd_set Fdread;
  22. fd_set Fdwrite;
  23. fd_set Fdexcept;
  24. void (*Fdstate[FD_SETSIZE])();
  25. ubyte Fdperm[FD_SETSIZE];
  26. uword FdChan[FD_SETSIZE];
  27. ubyte RcvBuf[RCVBUF];
  28. uword RcvData;
  29. uword RExpect;
  30. ubyte RTimedout;
  31. ubyte WTimedout;
  32. uword WChan;        /*  Read and Write channels        */
  33. uword RChan;
  34. uword RPStart;
  35. uword WPStart;
  36. uword WPUsed;
  37. uword RState;
  38. uword Rto_act, Wto_act;
  39. ubyte DDebug;
  40. ubyte DidWrite;
  41. ubyte Restart;
  42. ubyte DeldQuit;
  43. ulong NumCon;
  44.  
  45.  
  46.