mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-29 16:14:43 +00:00
myconfig, configure option testing and fixing, monitor_fs()
This commit is contained in:
18
src/global.h
18
src/global.h
@@ -68,6 +68,9 @@ BEG const char SPYSTR_BOTNET[] MDEF("botnet");
|
||||
#ifdef URLCAPTURE
|
||||
BEG const char SPYSTR_URL[] MDEF("url");
|
||||
#endif /* URLCAPTURE */
|
||||
#ifdef URLCAPTURE
|
||||
BEG const char SPYSTR_SYSMON[] MDEF("sysmon");
|
||||
#endif /* URLCAPTURE */
|
||||
|
||||
BEG const char STR_MECHRESET[] MDEF("MECHRESET=");
|
||||
|
||||
@@ -117,7 +120,7 @@ BEG User __internal_users[2];
|
||||
* generic output buffer, can be used as buffer in any `leaf' function
|
||||
* (functions that do not call any other non-trivial functions)
|
||||
*/
|
||||
BEG char gsockdata[MAXLEN];
|
||||
BEG char globaldata[MAXLEN];
|
||||
BEG char nick_buf[MAXHOSTLEN];
|
||||
BEG char nuh_buf[NUHLEN];
|
||||
|
||||
@@ -452,6 +455,19 @@ LS coreServerGroup defaultServerGroup =
|
||||
"default" /* name */
|
||||
};
|
||||
|
||||
LS struct
|
||||
{
|
||||
const char *string;
|
||||
const int id;
|
||||
|
||||
} meventstrings[] = {
|
||||
{ "parse", MEV_PARSE },
|
||||
{ "timer", MEV_TIMER },
|
||||
{ "command", MEV_COMMAND },
|
||||
{ "botnet", MEV_BOTNET },
|
||||
{ "dcc_complete", MEV_DCC_COMPLETE },
|
||||
{ "dnsresult", MEV_DNSRESULT }};
|
||||
|
||||
#else /* MAIN_C */
|
||||
|
||||
extern const uchar tolowertab[];
|
||||
|
||||
Reference in New Issue
Block a user