mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Move BroFile to zeek namespace, rename to File
This commit is contained in:
parent
bfab224d7c
commit
910aa77d95
29 changed files with 135 additions and 115 deletions
|
@ -61,10 +61,10 @@ static const FileTypePtr& GetStringFileType() noexcept
|
|||
return string_file_type;
|
||||
}
|
||||
|
||||
Val::Val(BroFile* f) : Val({AdoptRef{}, f})
|
||||
Val::Val(zeek::File* f) : Val({AdoptRef{}, f})
|
||||
{}
|
||||
|
||||
Val::Val(BroFilePtr f)
|
||||
Val::Val(zeek::FilePtr f)
|
||||
: val(f.release()), type(GetStringFileType())
|
||||
{
|
||||
assert(val.file_val->GetType()->Tag() == TYPE_STRING);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue