mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Use vector<IntrusivePtr<Val>> for Func::Call and Event queuing args
This change may break BIFs that use @ARGS@, @ARG@, or @ARGC@ since their types have changed.
This commit is contained in:
parent
94656c2308
commit
4e1ac4e124
29 changed files with 367 additions and 305 deletions
|
@ -6,11 +6,11 @@
|
|||
#include <map>
|
||||
#include <string_view>
|
||||
|
||||
|
||||
#include "Plugin.h"
|
||||
#include "Component.h"
|
||||
|
||||
#include "../Reporter.h"
|
||||
#include "../ZeekArgs.h"
|
||||
|
||||
namespace plugin {
|
||||
|
||||
|
@ -253,7 +253,7 @@ public:
|
|||
* functions and events, it may be any Val and must be ignored). If no
|
||||
* plugin handled the call, the method returns null.
|
||||
*/
|
||||
std::pair<bool, Val*> HookCallFunction(const Func* func, Frame *parent, val_list* args) const;
|
||||
std::pair<bool, Val*> HookCallFunction(const Func* func, Frame* parent, const zeek::Args& args) const;
|
||||
|
||||
/**
|
||||
* Hook that filters the queuing of an event.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue