home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
f
/
frbts_20.zip
/
GLOBALS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-27
|
2KB
|
76 lines
/****************************************************************************/
/* */
/* Globals.h Global variables for Frobot program */
/* */
/****************************************************************************/
#ifdef FROBOT_MAIN
#define GLOBAL
#else
#define GLOBAL extern
#endif
/* Global variables */
GLOBAL char temp[100];
GLOBAL char temp1[100];
GLOBAL char temp2[100];
GLOBAL char Outbdir[65];
GLOBAL char Inbdir[65];
GLOBAL char Netmdir[65];
GLOBAL char ScriptFile[65];
GLOBAL char LogFile[65];
GLOBAL char hdir[_MAX_DIR];
GLOBAL char hdrive[_MAX_DRIVE];
GLOBAL char DestFile[67];
GLOBAL char FloFile[65];
GLOBAL char ReqFile[65];
GLOBAL char password[15];
GLOBAL char datestr[27];
GLOBAL char FidoMsgSend[_MAX_DIR];
GLOBAL char FidoMsgReq[_MAX_DIR];
GLOBAL char FidoMsgNote[_MAX_DIR];
GLOBAL char ShowActivity;
GLOBAL char SelfMail;
GLOBAL char SysopMail;
GLOBAL char Silent;
GLOBAL char FidoNetMode;
GLOBAL int ExitCode;
GLOBAL unsigned int Zone;
GLOBAL unsigned int Node;
GLOBAL unsigned int Net;
GLOBAL unsigned int DestZone;
GLOBAL unsigned int DestNode;
GLOBAL unsigned int DestNet;
GLOBAL unsigned int FileCount;
GLOBAL unsigned int XferTries;
GLOBAL unsigned int linenum;
GLOBAL unsigned int FileReqs;
GLOBAL unsigned int FileSends;
GLOBAL struct tm *ltime;
GLOBAL time_t now;
GLOBAL struct stat fbuf;
#ifdef FROBOT_MAIN
/* Set up some defaults */
char ShowActivity = FALSE;
char SelfMail = FALSE;
char SysopMail = FALSE;
char Silent = FALSE;
unsigned Net = 0;
unsigned Node = 0;
#endif