mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Changes to auto-document dpd_config (port analysis) script settings.
This commit is contained in:
parent
0d7ffe998f
commit
1bad6e3a95
3 changed files with 69 additions and 8 deletions
10
src/BroDoc.h
10
src/BroDoc.h
|
@ -73,6 +73,15 @@ public:
|
|||
*/
|
||||
void SetPacketFilter(const std::string& s);
|
||||
|
||||
/**
|
||||
* Schedules documentation of a given set of ports being associated
|
||||
* with a particular analyzer as a result of the current script
|
||||
* being loaded -- the way the "dpd_config" table is changed.
|
||||
* @param analyzer An analyzer that changed the "dpd_config" table.
|
||||
* @param ports The set of ports assigned to the analyzer in table.
|
||||
*/
|
||||
void AddPortAnalysis(const std::string& analyzer, const std::string& ports);
|
||||
|
||||
/**
|
||||
* Sets the author of the script.
|
||||
* The scanner should call this when it sees "## Author: ..."
|
||||
|
@ -114,6 +123,7 @@ protected:
|
|||
std::list<std::string> modules;
|
||||
std::list<std::string> summary;
|
||||
std::list<std::string> imports;
|
||||
std::list<std::string> port_analysis;
|
||||
|
||||
std::list<const BroDocObj*> options; // identifiers with &redef attr
|
||||
std::list<const BroDocObj*> state_vars; // identifiers without &redef?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue