mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
factor out "print" statement's execution functionality
This commit is contained in:
parent
b792feccab
commit
22776167bb
3 changed files with 15 additions and 9 deletions
|
@ -12,8 +12,7 @@
|
|||
#include <krb5.h>
|
||||
#endif // NEED_KRB5_H
|
||||
|
||||
#include "zeek/Obj.h"
|
||||
#include "zeek/IntrusivePtr.h"
|
||||
#include "zeek/Val.h"
|
||||
#include "zeek/util.h"
|
||||
|
||||
namespace zeek {
|
||||
|
@ -23,6 +22,8 @@ namespace detail {
|
|||
class PrintStmt;
|
||||
class Attributes;
|
||||
|
||||
extern void do_print_stmt(const std::vector<ValPtr>& vals);
|
||||
|
||||
} // namespace detail;
|
||||
|
||||
class RecordVal;
|
||||
|
@ -84,7 +85,7 @@ public:
|
|||
|
||||
protected:
|
||||
|
||||
friend class detail::PrintStmt;
|
||||
friend void detail::do_print_stmt(const std::vector<ValPtr>& vals);
|
||||
|
||||
File() { Init(); }
|
||||
void Init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue