mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
&on_change: incooperate feedback of Jon.
This commit is contained in:
parent
b1040f88c9
commit
d6d2bbe878
3 changed files with 16 additions and 20 deletions
|
@ -847,7 +847,7 @@ protected:
|
|||
double CallExpireFunc(Val *idx);
|
||||
|
||||
// Enum for the different kinds of changes an &on_change handler can see
|
||||
enum OnChangeType { element_new, element_changed, element_removed, element_expired };
|
||||
enum OnChangeType { ELEMENT_NEW, ELEMENT_CHANGED, ELEMENT_REMOVED, ELEMENT_EXPIRED };
|
||||
|
||||
// Calls &change_func. Does not take ownership of values. (Refs if needed).
|
||||
void CallChangeFunc(const Val* index, Val* old_value, OnChangeType tpe);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue