mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
change Log enum to Input enum.
This commit is contained in:
parent
be1b3ce5e1
commit
4975584e01
9 changed files with 35 additions and 36 deletions
|
@ -58,28 +58,28 @@ module Input;
|
|||
|
||||
#global filters: table[ID, string] of Filter;
|
||||
|
||||
function create_stream(id: Log::ID, description: Input::StreamDescription) : bool
|
||||
function create_stream(id: Input::ID, description: Input::StreamDescription) : bool
|
||||
{
|
||||
return __create_stream(id, description);
|
||||
}
|
||||
|
||||
function remove_stream(id: Log::ID) : bool
|
||||
function remove_stream(id: Input::ID) : bool
|
||||
{
|
||||
return __remove_stream(id);
|
||||
}
|
||||
|
||||
function force_update(id: Log::ID) : bool
|
||||
function force_update(id: Input::ID) : bool
|
||||
{
|
||||
return __force_update(id);
|
||||
}
|
||||
|
||||
function add_tablefilter(id: Log::ID, filter: Input::TableFilter) : bool
|
||||
function add_tablefilter(id: Input::ID, filter: Input::TableFilter) : bool
|
||||
{
|
||||
# filters[id, filter$name] = filter;
|
||||
return __add_tablefilter(id, filter);
|
||||
}
|
||||
|
||||
function remove_tablefilter(id: Log::ID, name: string) : bool
|
||||
function remove_tablefilter(id: Input::ID, name: string) : bool
|
||||
{
|
||||
# delete filters[id, name];
|
||||
return __remove_tablefilter(id, name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue