Update plugin btests for namespace changes

This commit is contained in:
Tim Wojtulewicz 2020-08-21 18:10:39 +00:00
parent 70c2397f69
commit 874e170341
43 changed files with 420 additions and 317 deletions

View file

@ -3,15 +3,14 @@
#include <zeek/plugin/Plugin.h>
namespace plugin {
namespace Demo_Hooks {
namespace btest::plugin::Demo_Hooks {
class Plugin : public zeek::plugin::Plugin
{
protected:
std::pair<bool, zeek::IntrusivePtr<Val>> HookFunctionCall(
const Func* func, Frame* frame, zeek::Args* args) override;
std::pair<bool, zeek::ValPtr> HookFunctionCall(
const zeek::Func* func, zeek::detail::Frame* frame, zeek::Args* args) override;
void MetaHookPre(zeek::plugin::HookType hook,
const zeek::plugin::HookArgumentList& args) override;
@ -20,10 +19,9 @@ protected:
zeek::plugin::HookArgument result) override;
// Overridden from plugin::Plugin.
plugin::Configuration Configure() override;
zeek::plugin::Configuration Configure() override;
};
extern Plugin plugin;
}
}