home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / fido / pup_v2b.zip / PUPMEM.H < prev    next >
C/C++ Source or Header  |  1987-12-24  |  2KB  |  51 lines

  1. /*
  2.     pup's memory usage declarations.
  3. */
  4.  
  5. extern struct _pup pup;        /* our main system file */
  6. extern struct _clr caller;    /* currently logged in caller */
  7.  
  8. /* Message base memory resident index */
  9.  
  10. extern struct _msg *msg;    /* msg index file contents */
  11.  
  12. extern FLAG test;        /* 1 == test mode, (no modem) */
  13. extern FLAG localin;        /* 1 == simultaneous keyboards */
  14. extern char lmtstate;        /* 0 - 2, caller time limit warning state */
  15. extern int limit;        /* time limit in force, or 0 for no limit */
  16. extern int klimit;        /* download limit in force */
  17.  
  18. /* Local system shit */
  19.  
  20. extern char months[13][4];    /* table of month names */
  21. extern FLAG abort;        /* True if ^C typed. */
  22. extern FLAG doscode;        /* DOS error code */
  23. extern char column;        /* column number, */
  24. extern char line;
  25.  
  26. /* XMODEM protocol module */
  27.  
  28. extern int totl_files;        /* how many failed, */
  29. extern int totl_errors;        /* error count, soft errors incl */
  30. extern int totl_blocks;        /* number blocks sent, */
  31. extern char crcmode;        /* 1 if CRC mode, */
  32. extern char filemode;        /* transfer type; XMODEM, MODEM7, TELINK */
  33.  
  34. /* Modem variables */
  35.  
  36. extern FLAG cd_flag;        /* true == ignore CD line */
  37. extern WORD linkrate;        /* baud rate to/from modem */
  38. extern WORD datarate;        /* baud rate to/from caller */
  39. extern WORD cd_bit;        /* MSDOS driver: bit to test for Carrier Detect, */
  40. extern WORD iodev;        /* MSDOS driver: serial channel number */    
  41.  
  42. /* Local text buffer */
  43.  
  44. extern char *text;        /* work buffer */
  45. extern int textsize;        /* and its size */
  46.  
  47. extern LONG millisec;        /* MSDOS driver: G.P. milliseconds */
  48. extern LONG millis2;        /* MSDOS driver */
  49. extern WORD seconds,minutes,hours; /* MSDOS driver */
  50.  
  51.