mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00

This plugin has a generic name, but for now just tests the API around enum types and enum vals at InitPostScript() time.
18 lines
343 B
C++
18 lines
343 B
C++
|
|
#pragma once
|
|
|
|
#include <zeek/plugin/Plugin.h>
|
|
|
|
namespace btest::plugin::Demo_API {
|
|
|
|
class Plugin : public zeek::plugin::Plugin {
|
|
protected:
|
|
// Overridden from zeek::plugin::Plugin.
|
|
zeek::plugin::Configuration Configure() override;
|
|
|
|
void InitPostScript() override;
|
|
};
|
|
|
|
extern Plugin plugin;
|
|
|
|
} // namespace btest::plugin::Demo_API
|