📄 vars.h
字号:
#ifndef _VARS_H_#define _VARS_H_FILE *fh=NULL,*fm=NULL; //html and mrtg filesint xdebug=0; //say if produce extreme debugint comment=0; //say if inside of a comment blockchar cfgdir[257]=""; //path of the cfg file#define N_HOSTS 4096int nhosts=0; //# of defined stateschar hostsn[N_HOSTS][65]; //host namechar hostsi[N_HOSTS][33]; //host definition as interfaceint identl=0; char body[257]=""; //code appended to body tagchar base[257]=""; //base for html files#define N_ALIAS 128int nalias=0; //# of defined aliaseschar aliasn[N_ALIAS][33]; //name of the aliases and their contentschar aliasi[N_ALIAS][129]; //name of the interfaces and their resolvint usealias=0; //say if is allowed to use aliasesint chngname=0; //say if change the name of the output filesint conv=0; //say if change or not the name of the fileschar title[65]; //title of the html page#define N_MK 128int nmkr[4]={ 0, //# of files procesed for mkd 0, //# of files procesed for mkw 0, //# of files procesed for mkm 0}; //# of files procesed for mkychar mkrn[N_MK][8][257]; //0=name of the cfg procesed for mkd //1=name of the cfg procesed for mkw //2=name of the cfg procesed for mkm //3=name of the cfg procesed for mky //4=name of the router procesed for mkd //5=name of the router procesed for mkw //6=name of the router procesed for mkm //7=name of the router procesed for mkyFILE* mkri[N_MK][4]; //0=FILE* for mkd //1=FILE* for mkw //2=FILE* for mkm //3=FILE* for mkychar mrtgoutpath[256]; //used be convname2ip and convip2name#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -