home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / OTHERUTI / WWIV412S.ZIP / VARS.H < prev    next >
C/C++ Source or Header  |  1990-07-04  |  3KB  |  129 lines

  1. /*****************************************************************************
  2.  
  3.                 WWIV Version 4
  4.               Copyright (C) 1988 by Wayne Bell
  5.  
  6. Distribution of the source code for WWIV, in any form, modified or unmodified,
  7. without PRIOR, WRITTEN APPROVAL by the author, is expressly prohibited.
  8. Distribution of compiled versions of WWIV is limited to copies compiled BY
  9. THE AUTHOR.  Distribution of any copies of WWIV not compiled by the author
  10. is expressly prohibited.
  11.  
  12.  
  13. *****************************************************************************/
  14.  
  15.  
  16.  
  17. editorrec *backuped;
  18. volatile int head,tail;
  19. volatile char buffer[max_buf];
  20. int base,async_irq;
  21. int outcom,incom;
  22. int tempio,already_on;
  23. char charbuffer[161],endofline[81];
  24. int charbufferpointer;
  25. int hangup,hungup;
  26. int checkit;
  27. unsigned char andwith;
  28. int topline;
  29. int curatr;
  30. int ansiptr;
  31. int oldx,oldy;
  32. char ansistr[81];
  33. char far *scrn;
  34. int change_color,lines_listed,express,expressabort;
  35.  
  36. userrec thisuser;
  37. int usernum,okmacro;
  38. int topdata,chatcall,wfc;
  39. char chatreason[81];
  40. configrec syscfg;
  41. statusrec status;
  42. int fwaiting,global_xx;
  43. double timeon,extratimecall;
  44. int useron;
  45. unsigned char realsl,actsl;
  46. smalrec *smallist;
  47.  
  48. char ctypes[NUM_CTYPES][18]=
  49.     /*12345678901234567*/
  50.     {"IBM PC (8088)",
  51.      "IBM AT (80286)",
  52.      "IBM 80386",
  53.      "IBM PS/2",
  54.      "Apple 2",
  55.      "Apple Mac",
  56.      "Commodore Amiga",
  57.      "Commodore",
  58.      "Atari",
  59.      "Other"};
  60.  
  61. int userfile,configfile,statusfile;
  62.  
  63. subboardrec subboards[32];
  64. directoryrec directories[64];
  65. usersubrec usub[32],udir[64];
  66. int num_subs,num_dirs;
  67. char dc[81],dcd[81],odc[81];
  68. int chatting,okskey;
  69. int endday;
  70. int echo,lecho,okskey;
  71. char curspeed[80];
  72. unsigned int modem_speed,com_speed;
  73. int cursub,curdir,curdloads,msgreadlogon;
  74. int curlsub,curldir,nummsgs,numfiles;
  75.  
  76. postrec *msgs;
  77. int bchanged,dchanged;
  78. char irt[81],cdir[81];
  79. screentype screensave;
  80. messagerec menus[30],menus1[30],menus2[30];
  81. messagerec helps[50];
  82. int fsenttoday,lastcon,edlf,dlf,numf,helpl,ihelp;
  83. long nscandate;
  84. unsigned char checksum;
  85. unsigned short crc;
  86. char crttype;
  87.  
  88. float batchtime;
  89. int numbatch,numbatchdl;
  90. batchrec *batch;
  91. int abortext,nextext;
  92. int numextrn, numchain,oklevel,noklevel,mailcheck,smwcheck;
  93. chainfilerec *chains;
  94. externalrec *externs;
  95. int checkext[15];
  96. int checked[10];
  97. long hanguptime1;
  98.  
  99. unsigned char agemin,agemax,slmin,slmax,dslmin,dslmax,ressex;
  100. int daysmin,daysmax;
  101. unsigned short arres,darres,resres;
  102. int in_extern;
  103. int high_speed,numed;
  104.  
  105. editorrec *editors;
  106. short gat[2048];
  107. char gatfn[81];
  108. int use_workspace,num_sec;
  109. gfiledirrec *gfilesec;
  110. char *xenviron[50];
  111. char newprompt[161],dszlog[81];
  112. int using_modem,ooneuser,input_extern;
  113. double xtime;
  114. char xdate[9],ver_no[21],ver_no1[51];
  115. int screenbottom,defscreenbottom,no_hangup;
  116. int two_color,chat_file,flow_control;
  117. int questused[20];
  118. double last_time,time_event;
  119. int do_event,sysop_alert,ok_modem_stuff,oldf,live_user;
  120.  
  121. int num_listed,arcling,screenlen,screenlinest,restoring_shrink,global_handle;
  122. long last_time_c=0L;
  123. char net_email_name[81];
  124.  
  125. void far *funcs[25];
  126. long timelastchar1;
  127. resultrec *result_codes;
  128. int num_result_codes;
  129.