mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
low-level tidying / documentation tweaks
This commit is contained in:
parent
6454f59369
commit
66fb3e0f56
3 changed files with 6 additions and 5 deletions
|
@ -111,8 +111,8 @@ export {
|
||||||
## record as it is sent on to the logging framework.
|
## record as it is sent on to the logging framework.
|
||||||
global log_ssl: event(rec: Info);
|
global log_ssl: event(rec: Info);
|
||||||
|
|
||||||
# Hook that can be used to perform actions right before the log record
|
## Hook that can be used to perform actions right before the log record
|
||||||
# is written.
|
## is written.
|
||||||
global ssl_finishing: hook(c: connection);
|
global ssl_finishing: hook(c: connection);
|
||||||
|
|
||||||
## SSL finalization hook. Remaining SSL info may get logged when it's called.
|
## SSL finalization hook. Remaining SSL info may get logged when it's called.
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
#include "zeek/File.h"
|
#include "zeek/File.h"
|
||||||
#include "zeek/Frame.h"
|
#include "zeek/Frame.h"
|
||||||
#include "zeek/Var.h"
|
#include "zeek/Var.h"
|
||||||
#include "zeek/analyzer/protocol/login/Login.h"
|
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||||
#include "zeek/session/Manager.h"
|
#include "zeek/session/Manager.h"
|
||||||
#include "zeek/RE.h"
|
#include "zeek/RE.h"
|
||||||
#include "zeek/Event.h"
|
#include "zeek/Event.h"
|
||||||
|
|
|
@ -396,8 +396,9 @@ protected:
|
||||||
|
|
||||||
// Maps script functions to associated profiles. This isn't
|
// Maps script functions to associated profiles. This isn't
|
||||||
// actually well-defined in the case of event handlers and hooks,
|
// actually well-defined in the case of event handlers and hooks,
|
||||||
// which can have multiple bodies. However, this is only used
|
// which can have multiple bodies. However, the need for this
|
||||||
// in the context of analyzing a single-bodied function.
|
// is temporary (it's for skipping compilation of functions that
|
||||||
|
// appear in "when" clauses), and in that context it suffices.
|
||||||
std::unordered_map<const ScriptFunc*, std::shared_ptr<ProfileFunc>> func_profs;
|
std::unordered_map<const ScriptFunc*, std::shared_ptr<ProfileFunc>> func_profs;
|
||||||
|
|
||||||
// Maps expressions to their profiles. This is only germane
|
// Maps expressions to their profiles. This is only germane
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue