mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
Make tags generated during component initialization stable.
The order in which the plugin initializers are executed is compiler dependent. With this change, Tags will always be generated in alphabetical ordering, not in compiler-dependent order.
This commit is contained in:
parent
2756dfe581
commit
65d977f278
13 changed files with 95 additions and 11 deletions
|
@ -492,12 +492,14 @@ protected:
|
|||
virtual void Done();
|
||||
|
||||
/**
|
||||
* Registers and activates a component.
|
||||
* Registers a component.
|
||||
*
|
||||
* @param c The component. The method takes ownership.
|
||||
*/
|
||||
void AddComponent(Component* c);
|
||||
|
||||
void InitializeComponents();
|
||||
|
||||
/**
|
||||
* Enables a hook. The corresponding virtual method will now be
|
||||
* called as Bro's processing proceeds. Note that enabling hooks can
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue