/* netmaintain.cc 12/1/95 Renda Razgaitis This file defines all the external variables. */ #include "netmaintain.h" // this file contains information about nets and subnets char ROOTINFO[] = "/home/ren/comp410/code/rootinfo.ntm"; // this machine is where the msql daemon is running: // needs to be read from a config file instead extern char HOST[] = "great-gray.owlnet.rice.edu"; ] // the name of the msql database char DBNAME[] = "netinfo"; extern const int MAX_STRING_LEN = 200; // the database ID belonging to the standard DB vals extern int STD_IDNUM = 0; extern const int SUCCESS = 0; extern const int FAIL = 1; extern const char STATUS_DEAD_STRING[] = "NOT RESPONDING"; extern const char NET_CLASS[] = "NET"; extern const char XTERM_CLASS[] = "XTERM"; // these correspond to the field index values (in netmaintain.h): // a 1 means this field exists in subnets, a 0 means it doesn't extern char SUBNET_FIELDS[] = "1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 1"; // keeps track of everything to do with the DB class Database; Database * DATABASE; // keeps track of the ROOTFILE and the structure of the Rice system class NetStructure; NetStructure * RICESYSTEM; // keeps track of the names of fields and their indices class FieldMap; FieldMap * FIELDMAP; /***************************************************************/ /* end netmaintain.cc */