home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / BBS / MISC / XSRC_117.ZIP / XGLOB.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-06  |  4.4 KB  |  108 lines

  1. /*--------------------------------------------------------------------------*/
  2. /*                                                                          */
  3. /*   XBBS SOURCE CODE copyright (c) 1990 by M. Kimes                        */
  4. /*   All Rights Reserved                                                    */
  5. /*                                                                          */
  6. /*    For complete details of the licensing restrictions, please refer      */
  7. /*    to the License agreement, which is published in its entirety in       */
  8. /*    the in the file LICENSE.XBS.                                          */
  9. /*                                                                          */
  10. /*    USE OF THIS FILE IS SUBJECT TO THE RESTRICTIONS CONTAINED IN THE      */
  11. /*    XBBS LICENSING  AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF            */
  12. /*    THIS AGREEMENT IN ANY OF THE AFOREMENTIONED FILES, OR IF YOU DO       */
  13. /*    NOT HAVE THESE FILES, YOU SHOULD IMMEDIATELY CONTACT M. KIMES         */
  14. /*    AT THE ADDRESS LISTED BELOW.  IN NO EVENT SHOULD YOU PROCEED TO USE   */
  15. /*    THIS FILE WITHOUT HAVING ACCEPTED THE TERMS OF THE XBBS LICENSING     */
  16. /*    AGREEMENT, OR SUCH OTHER AGREEMENT AS YOU ARE ABLE TO REACH WITH      */
  17. /*    M. KIMES                                                              */
  18. /*                                                                          */
  19. /*                                                                          */
  20. /* You can contact M. Kimes at the following address:                       */
  21. /*                                                                          */
  22. /* M. Kimes                         1:380/16.0@FidoNet                      */
  23. /* 542 Merrick                      (318)222-3455 data                      */
  24. /* Shreveport, LA  71104                                                    */
  25. /*                                                                          */
  26. /*                                                                          */
  27. /* Please feel free to contact me at any time to share your comments about  */
  28. /* my software and/or licensing policies.                                   */
  29. /*                                                                          */
  30. /*--------------------------------------------------------------------------*/
  31.  
  32. #define MAXFPHANDLES    12
  33. #define MAXALLOCHANDLES 1500
  34.  
  35. /* Global variables */
  36.  
  37. struct _config conf;         /* System configuration read from CONFIG.BBS */
  38. word           baud=0;       /* System-assigned parameters */
  39. char           lines=1;
  40. char           pauser=0;
  41. word           timelimit=60;
  42. struct time    starter;
  43. struct time    timeon;
  44. word           userno;
  45. struct _user   user;
  46. struct _user   other;
  47. char           variable[10][82];
  48. char           chatting=0;
  49. char           pages;
  50. struct _mboard mboard;
  51. struct _fboard fboard;
  52. char           startfile[13];
  53. char           leaving=0;
  54. word           level=0;
  55. struct ffblk   filestat;
  56. ulong          start;
  57. struct _xmsg   msg;
  58. struct _xmsg   oldmsg;
  59. char           chatted;
  60. char           timer_off=1;
  61. union REGS r;
  62. char           age;
  63. word           hold_time;
  64. char           filetoread[104];
  65. char           fast=0;
  66. char           nodenumber=1;
  67. struct _events event[10];
  68. int               prompthandle=-1;
  69. int               indexhandle=-1;
  70. char           assocfile[133]="";
  71. char            msgfrom[37]="";
  72. char            msgto[37]="";
  73. char            msgsubj[67]="";
  74. char            msgbody[81]="";
  75. word           keymess=0;
  76. char           buffer[1026];
  77. jmp_buf           envbuf;
  78. char           safe=0;
  79. char           disablejump=0;
  80. char           disablesub=0;
  81. int            fphandles[MAXFPHANDLES];
  82. void *         allochandles[MAXALLOCHANDLES];
  83. char            messpath[79];
  84. word     huge *lastread;
  85. ulong          lastexittime=0;
  86. word           helpnum=0;
  87. word           lastprompt=0;
  88. char           to_domain[37]="";
  89. char           replyid[80]="";
  90. char           keybuf[81]="";
  91. char            cvstr[512];
  92. char            dlstr[80]="";
  93. char           keyqueue[81];
  94. char           keyptr;
  95. char           msginfo[81]="";
  96. long           lastfilemsgid;
  97. unsigned int   textsize, codesize;
  98. char           whotyped=0;
  99. char           slowprint=0;
  100. word           tempuserno=0;
  101. char           menufile[81]="";
  102. char           msk78[]="______________________________________________________________________________";
  103. word           inwindow=0;
  104.  
  105. /* char           geninput[257]=""; */
  106.  
  107. extern unsigned _Cdecl _stklen = 32767;    /* Stack length */
  108.