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:
Jon Siwek 2020-05-12 18:08:52 -07:00
parent 9210d443d3
commit a5762c12cc
84 changed files with 578 additions and 568 deletions

View file

@ -462,7 +462,7 @@ void DNS_Mgr::InitPostScript()
dns_mapping_name_changed = internal_handler("dns_mapping_name_changed");
dns_mapping_altered = internal_handler("dns_mapping_altered");
dm_rec = zeek::lookup_type("dns_mapping")->AsRecordType();
dm_rec = zeek::id::lookup_type("dns_mapping")->AsRecordType();
// Registering will call Init()
iosource_mgr->Register(this, true);