Deprecate all BroType* in BifType:: namespace

Replaced with equivalently named IntrusivePtr in zeek::BifType::
This commit is contained in:
Jon Siwek 2020-05-13 20:21:51 -07:00
parent dca587c604
commit eedeb07550
62 changed files with 287 additions and 283 deletions

View file

@ -6,7 +6,7 @@ type ftp_port: record;
static IntrusivePtr<Val> parse_port(const char* line)
{
auto r = make_intrusive<RecordVal>(BifType::Record::ftp_port);
auto r = make_intrusive<RecordVal>(zeek::BifType::Record::ftp_port);
int bytes[6];
if ( line && sscanf(line, "%d,%d,%d,%d,%d,%d",
@ -49,7 +49,7 @@ static IntrusivePtr<Val> parse_port(const char* line)
static IntrusivePtr<Val> parse_eftp(const char* line)
{
auto r = make_intrusive<RecordVal>(BifType::Record::ftp_port);
auto r = make_intrusive<RecordVal>(zeek::BifType::Record::ftp_port);
int net_proto = 0; // currently not used
IPAddr addr; // unspecified IPv6 address (all 128 bits zero)