mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Move various elements into ID.h and zeek::id namespace
* A handful of generic/useful/common global type pointers that used to be in NetVar.h * Lookup functions that used to be Var.h
This commit is contained in:
parent
9210d443d3
commit
a5762c12cc
84 changed files with 578 additions and 568 deletions
|
@ -8,10 +8,9 @@
|
|||
#include <ctype.h>
|
||||
|
||||
#include "Val.h"
|
||||
#include "Var.h"
|
||||
#include "ID.h"
|
||||
#include "Reporter.h"
|
||||
#include "util.h"
|
||||
#include "ZeekVars.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#define DEBUG_STR(msg) DBG_LOG(DBG_STRING, msg)
|
||||
|
@ -341,7 +340,7 @@ BroString::Vec* BroString::Split(const BroString::IdxVec& indices) const
|
|||
|
||||
VectorVal* BroString:: VecToPolicy(Vec* vec)
|
||||
{
|
||||
auto result = make_intrusive<VectorVal>(zeek::vars::string_vec);
|
||||
auto result = make_intrusive<VectorVal>(zeek::id::string_vec);
|
||||
|
||||
for ( unsigned int i = 0; i < vec->size(); ++i )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue