mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Merge branch 'topic/jswaro/feature/HookAddToAnalyzer-tcprs-support' of https://github.com/jswaro/bro
Making two changes here: - Renaming the hook to SetupAnalyzerTree. - Reverting the reversal of the script load order. Instead, I'm adding an additional script that Bro looks for to load first, "__preload__.bro". Also extending the plugin docs to cover this. - Increasing plugin API version, as I suppose adding a new virtual function may invalidate binary compatibility. * 'topic/jswaro/feature/HookAddToAnalyzer-tcprs-support' of https://github.com/jswaro/bro: Add hook 'HookAddToAnalyzerTree' to support TCPRS plugin
This commit is contained in:
commit
c91792b762
11 changed files with 94 additions and 15 deletions
|
@ -264,6 +264,15 @@ public:
|
|||
*/
|
||||
void HookUpdateNetworkTime(double network_time) const;
|
||||
|
||||
/**
|
||||
* Hook that executes when a connection's initial analyzer tree
|
||||
* has been fully set up. The hook can manipulate the tree at this time,
|
||||
* for example by adding further analyzers.
|
||||
*
|
||||
* @param conn The connection.
|
||||
*/
|
||||
void HookSetupAnalyzerTree(Connection *conn) const;
|
||||
|
||||
/**
|
||||
* Hook that informs plugins that the event queue is being drained.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue