home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume32 / xbbs / part09 / bbsc12.h next >
C/C++ Source or Header  |  1992-09-08  |  2KB  |  80 lines

  1. #include "bbscdef.h"
  2. #include <sys/types.h>
  3. #include <sys/locking.h>
  4. #include <sys/stat.h>
  5. #include <signal.h>
  6. #include <fcntl.h>
  7. #include <string.h>
  8. #include <ctype.h>
  9. #include <termio.h>
  10. #include <time.h>
  11. struct termio   ttys;
  12. struct termio   ttyhold;
  13. struct termio   ttysnew;
  14. struct stat     statbuf;
  15.  
  16. #define LASTDATE  " 08/15/92 "
  17.  
  18. #define PGMNAME "XBBS    "
  19. #define AUTHOR "Sanford J. Zelkovitz      Data: 714-821-9671 "
  20. #define VERSION " 7.200 "
  21. #define CONFIG ".config.bbs"
  22. char           *ttyname();
  23. char           *tty;
  24. char           *this_ttyname;
  25. static unsigned Xsec, Sec;
  26. unsigned int Ztime, Zsec, Ytime;
  27. int             hold_pipe;
  28. int             if_kermit;
  29. int        blocked_m;
  30. int             last_msg_read;
  31. int             user_priv;
  32. int             maxpriv;
  33. int             max_priv;
  34. int             first_time_in;
  35. int             first_msg_in;
  36. int             old_priv;
  37. int             cnt1;
  38. int             end_msg;
  39. int             reply_sw;
  40. int             resp_flag;
  41. int             sys_flag;
  42. int             new_msg;
  43. int             read_flag;
  44. int             read_number;
  45. int             no_cntrl_k;
  46. int             fds;
  47. int             newuzr;
  48. int             scan;
  49. int             hold_off;
  50. int             listed_l, listed_r, listed_n;
  51. int             toggle_hold;
  52. int        sigreturn;
  53. long            extra_time;
  54. long            extra_size;
  55. long            dload_total;
  56. long            max_dload;
  57. long            sum_lsec;
  58. long            sum_size;
  59. long            the_size;
  60. unsigned        sec;
  61. unsigned        xsec;
  62. unsigned        old_sec;
  63. long            delta_time;
  64. char            bufx[30], bufy[10];
  65. char            work_msg[(MAX_MSG_LINES * 74) + 74];
  66. char            old_upath[99], old_fpath[99], old_mpath[99];
  67. char            callers[99];
  68. char            port_id[4];
  69. char            mnd[10];
  70. char        POSTN[99], READN[99];
  71.  
  72. int             timer();
  73. int        hanged();
  74. int             mon_toggle();
  75. int             sys_toggle();
  76. int             chat();
  77. int             STOP();
  78. long            atol();
  79. int             atoi();
  80.