mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
support for uninitialized fields & empty sets and tables.
The only snag is... with the default output format of the log-file writer, the input reader cannot tell if a table or set is empty or uninitialized (both cases use the same character by default). In this case, by default it is assumed that the field/vector is uninitalized.
This commit is contained in:
parent
4fef1e3f8c
commit
4dd95fcf3c
4 changed files with 57 additions and 79 deletions
|
@ -59,17 +59,13 @@ private:
|
|||
//map<string, string> *keyMap;
|
||||
//
|
||||
// Options set from the script-level.
|
||||
char* separator;
|
||||
int separator_len;
|
||||
string separator;
|
||||
|
||||
char* set_separator;
|
||||
int set_separator_len;
|
||||
string set_separator;
|
||||
|
||||
char* empty_field;
|
||||
int empty_field_len;
|
||||
string empty_field;
|
||||
|
||||
char* unset_field;
|
||||
int unset_field_len;
|
||||
string unset_field;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue