mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Merge branch 'master' into topic/gilbert/plugin-api-tweak
Conflicts: testing/btest/Baseline/plugins.api-version-mismatch/output testing/btest/Baseline/plugins.hooks/output testing/btest/plugins/api-version-mismatch.sh
This commit is contained in:
commit
7eadcad674
139 changed files with 3194 additions and 1385 deletions
|
@ -3,6 +3,8 @@
|
|||
#ifndef func_h
|
||||
#define func_h
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "BroList.h"
|
||||
#include "Obj.h"
|
||||
#include "Debug.h"
|
||||
|
@ -14,9 +16,6 @@ class Stmt;
|
|||
class Frame;
|
||||
class ID;
|
||||
class CallExpr;
|
||||
namespace plugin {
|
||||
struct ValWrapper;
|
||||
}
|
||||
|
||||
class Func : public BroObj {
|
||||
public:
|
||||
|
@ -74,7 +73,7 @@ protected:
|
|||
Func();
|
||||
|
||||
// Helper function for handling result of plugin hook.
|
||||
plugin::ValWrapper* HandlePluginResult(plugin::ValWrapper* plugin_result, val_list* args, function_flavor flavor) const;
|
||||
std::pair<Val*, bool> HandlePluginResult(std::pair<Val*, bool> plugin_result, val_list* args, function_flavor flavor) const;
|
||||
|
||||
DECLARE_ABSTRACT_SERIAL(Func);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue