mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00

This changes the type of user-exposed IDs from counts to strings. Also makes the init functions work for the first time.
18 lines
258 B
Text
18 lines
258 B
Text
module Pacf;
|
|
|
|
@load ./main
|
|
|
|
function activate(p: PluginState, priority: int)
|
|
{
|
|
activate_impl(p, priority);
|
|
}
|
|
|
|
function add_rule(r: Rule) : string
|
|
{
|
|
return add_rule_impl(r);
|
|
}
|
|
|
|
function remove_rule(id: string) : bool
|
|
{
|
|
return remove_rule_impl(id);
|
|
}
|