Adding options Analyzer::disable_all to disable all analyzers at

startup.

One can then selectively enable the ones one wants inside a bro_init()
handler.
This commit is contained in:
Robin Sommer 2013-04-04 15:24:15 -07:00
parent b122b39874
commit bccaea6883
4 changed files with 26 additions and 1 deletions

View file

@ -113,6 +113,11 @@ public:
*/
bool DisableAnalyzer(EnumVal* tag);
/**
* Disables all currently registered analyzers.
*/
void DisableAllAnalyzers();
/**
* Returns true if an analyzer is enabled.
*