mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
move Value and Field from the logging namespace to the threading namespace, because other modules using threading will need them.
This commit is contained in:
parent
70fe7876a1
commit
a0487ecb30
15 changed files with 512 additions and 472 deletions
|
@ -20,9 +20,9 @@ public:
|
|||
|
||||
protected:
|
||||
virtual bool DoInit(string path, int num_fields,
|
||||
const Field* const* fields);
|
||||
virtual bool DoWrite(int num_fields, const Field* const* fields,
|
||||
Value** vals);
|
||||
const threading::Field* const* fields);
|
||||
virtual bool DoWrite(int num_fields, const threading::Field* const* fields,
|
||||
threading::Value** vals);
|
||||
virtual bool DoSetBuf(bool enabled);
|
||||
virtual bool DoRotate(string rotated_path, double open,
|
||||
double close, bool terminating);
|
||||
|
@ -31,7 +31,7 @@ protected:
|
|||
|
||||
private:
|
||||
bool IsSpecial(string path) { return path.find("/dev/") == 0; }
|
||||
bool DoWriteOne(ODesc* desc, Value* val, const Field* field);
|
||||
bool DoWriteOne(ODesc* desc, threading::Value* val, const threading::Field* field);
|
||||
bool WriteHeaderField(const string& key, const string& value);
|
||||
|
||||
FILE* file;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue