mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
Add a method to register an event handler to a std::function via C++
This commit is contained in:
parent
aac723cfe5
commit
39890fda5e
9 changed files with 65 additions and 2 deletions
|
@ -23,6 +23,7 @@ public:
|
|||
virtual void EndpointEOF(bool is_orig);
|
||||
|
||||
static zeek::analyzer::Analyzer* Instantiate(zeek::Connection* conn) { return new Foo(conn); }
|
||||
void ConnectionEstablishedHandler(const zeek::Args& args);
|
||||
|
||||
protected:
|
||||
binpac::Foo::Foo_Conn* interp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue