mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
start support for annotation for log field types.
commit before rolling part of it back...
This commit is contained in:
parent
949ec6897a
commit
78b24da7e4
7 changed files with 28 additions and 6 deletions
|
@ -12,8 +12,11 @@
|
|||
struct FieldMapping {
|
||||
string name;
|
||||
TypeTag type;
|
||||
// internal type for sets and vectors
|
||||
TypeTag subtype;
|
||||
int position;
|
||||
// for ports: pos of the second field
|
||||
int secondary_position;
|
||||
|
||||
FieldMapping(const string& arg_name, const TypeTag& arg_type, int arg_position);
|
||||
FieldMapping(const string& arg_name, const TypeTag& arg_type, const TypeTag& arg_subtype, int arg_position);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue