home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
WWIV2.ZIP
/
VARS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-12-16
|
5KB
|
152 lines
/*****************************************************************************
WWIV Version 4
Copyright (C) 1988-1993 by Wayne Bell
Distribution of the source code for WWIV, in any form, modified or unmodified,
without PRIOR, WRITTEN APPROVAL by the author, is expressly prohibited.
Distribution of compiled versions of WWIV is limited to copies compiled BY
THE AUTHOR. Distribution of any copies of WWIV not compiled by the author
is expressly prohibited.
*****************************************************************************/
#ifndef _VARS_H_
#define _VARS_H_
#include <stdio.h>
#include <io.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <sys\stat.h>
#include <dos.h>
#include <alloc.h>
#include <time.h>
#include "fcns.h"
/****************************************************************************/
#ifdef _DEFINE_GLOBALS_
char *ctypes[] = {
"IBM PC (8088)",
"IBM AT (80286)",
"IBM 80386/80486",
"IBM PS/2",
"Apple 2",
"Apple Mac",
"Commodore Amiga",
"Commodore",
"Atari",
"Other",
0L,
};
#define __EXTRN__
/****************************************************************************/
#else
/****************************************************************************/
extern char *ctypes[];
#define __EXTRN__ extern
#endif
/****************************************************************************/
__EXTRN__ char ansistr[81], cdir[81], charbuffer[161], chatreason[81],
crttype, curspeed[81], dc[81], dcd[81], dszlog[81],
dtc[81], endofline[81], gatfn[81], irt[81], irt_name[81],
*languagedir, *net_data, *net_name, net_email_name[81],
newprompt[161], odc[81], *quotes_nrm, *quotes_ind,
search_pattern[81], *sp, str_no[20], str_pause[80],
str_quit[20], str_yes[20], tc[81], ver_no1[51],
ver_no2[51],wwiv_net_no[20], xdate[9], *xenviron[50];
__EXTRN__ unsigned char actsl, andwith, checksum;
__EXTRN__ int abortext, already_on, ansiptr, arcling, async_irq, base,
bchanged, change_color, charbufferpointer, chatcall,
chatting, chat_file, checkit, configfile, curatr, curdir,
curdloads, curldir, curlsub, cursub, cur_lang, c_dir,
c_sub, daysmax, daysmin, defscreenbottom, dlf, do_event,
echo, edlf, endday, express, expressabort, flow_control,
fsenttoday, fwaiting, gat_section, global_handle,
global_xx, hangup, helpl, high_speed, hungup, ihelp,
incom, input_extern, in_extern, in_fsed, lastcon, lecho,
lines_listed, live_user, ltime, mailcheck, max_subs,
max_dirs, msgreadlogon, net_num, net_num_max, nextext,
noklevel, no_hangup, numbatch, numbatchdl, numchain,
numed, numextrn, numf, nummsgs, num_dirs, num_listed,
num_sec, num_subs, num_sys_list, oklevel, okmacro, okskey,
ok_modem_stuff, oldx, oldy, ooneuser, outcom,
questused[20], restoring_shrink, save_dos, screenbottom,
screenlen, screenlinest, smwcheck, statusfile,
sysop_alert, tempio, topdata, topline, two_color,
userfile, usernum, useron, use_workspace, using_modem,
wfc, x_only;
__EXTRN__ unsigned short com_speed, *csn_index, crc, *gat, modem_flag,
modem_mode, modem_speed, net_sysnum;
__EXTRN__ long *dir_dates, hanguptime1, last_time_c, nscandate, *sub_dates,
this_date, timelastchar1, quotes_nrm_l, quotes_ind_l;
__EXTRN__ unsigned long *qsc, *qsc_n, *qsc_q, *qsc_p;
__EXTRN__ float batchtime;
__EXTRN__ double extratimecall, last_time, timeon, time_event, xtime;
__EXTRN__ userrec thisuser;
__EXTRN__ configrec syscfg;
__EXTRN__ statusrec status;
__EXTRN__ smalrec *smallist;
__EXTRN__ subboardrec *subboards;
__EXTRN__ directoryrec *directories;
__EXTRN__ usersubrec *usub,*udir;
__EXTRN__ postrec *msgs;
__EXTRN__ screentype screensave;
__EXTRN__ messagerec helps[50], menus[30],menus1[30],menus2[30];
__EXTRN__ batchrec *batch;
__EXTRN__ chainfilerec *chains;
__EXTRN__ newexternalrec *externs, *over_intern;
__EXTRN__ editorrec *editors;
__EXTRN__ gfiledirrec *gfilesec;
__EXTRN__ modem_info *modem_i;
__EXTRN__ net_system_list_rec huge *csn;
__EXTRN__ net_networks_rec *net_networks;
__EXTRN__ volatile int head,tail;
__EXTRN__ volatile char buffer[max_buf];
__EXTRN__ void far *funcs[25];
__EXTRN__ char far *scrn;
__EXTRN__ char far *point_shrink;
/* from version.c */
extern char *wwiv_version;
extern char *wwiv_date;
extern unsigned int wwiv_num_version;
#endif