mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Remove unused attributes
Removed attributes &postprocessor and &match from documentation and source code. Removed undocumented attribute &attr from source code. Removed internal attribute (&tracked) from documentation.
This commit is contained in:
parent
e8482fef99
commit
cb7fd7c87c
6 changed files with 4 additions and 23 deletions
|
@ -14,8 +14,8 @@ const char* attr_name(attr_tag t)
|
|||
"&rotate_interval", "&rotate_size",
|
||||
"&add_func", "&delete_func", "&expire_func",
|
||||
"&read_expire", "&write_expire", "&create_expire",
|
||||
"&persistent", "&synchronized", "&postprocessor",
|
||||
"&encrypt", "&match",
|
||||
"&persistent", "&synchronized",
|
||||
"&encrypt",
|
||||
"&raw_output", "&mergeable", "&priority",
|
||||
"&group", "&log", "&error_handler", "&type_column",
|
||||
"(&tracked)",
|
||||
|
@ -337,11 +337,6 @@ void Attributes::CheckAttr(Attr* a)
|
|||
Error("&rotate_size only applicable to files");
|
||||
break;
|
||||
|
||||
case ATTR_POSTPROCESSOR:
|
||||
if ( type->Tag() != TYPE_FILE )
|
||||
Error("&postprocessor only applicable to files");
|
||||
break;
|
||||
|
||||
case ATTR_ENCRYPT:
|
||||
if ( type->Tag() != TYPE_FILE )
|
||||
Error("&encrypt only applicable to files");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue