mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18: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
|
@ -22,7 +22,8 @@ typedef enum {
|
|||
RAW_STYLE,
|
||||
} desc_style;
|
||||
|
||||
class BroFile;
|
||||
namespace zeek { class File; }
|
||||
using BroFile [[deprecated("Remove in v4.1. Use zeek::File.")]] = zeek::File;
|
||||
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(IPAddr, zeek);
|
||||
ZEEK_FORWARD_DECLARE_NAMESPACED(IPPrefix, zeek);
|
||||
|
@ -32,7 +33,7 @@ using BroType [[deprecated("Remove in v4.1. Use zeek::Type instead.")]] = zeek::
|
|||
|
||||
class ODesc {
|
||||
public:
|
||||
explicit ODesc(desc_type t=DESC_READABLE, BroFile* f=nullptr);
|
||||
explicit ODesc(desc_type t=DESC_READABLE, zeek::File* f=nullptr);
|
||||
|
||||
~ODesc();
|
||||
|
||||
|
@ -201,7 +202,7 @@ protected:
|
|||
using escape_set = std::set<std::string>;
|
||||
escape_set escape_sequences; // additional sequences of chars to escape
|
||||
|
||||
BroFile* f; // or the file we're using.
|
||||
zeek::File* f; // or the file we're using.
|
||||
|
||||
int indent_level;
|
||||
bool do_flush;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue