mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Bro plugins should support a patch version (x.y.z)
This commit is contained in:
parent
35d0a4d38e
commit
615ff78282
31 changed files with 99 additions and 24 deletions
|
@ -0,0 +1,17 @@
|
|||
|
||||
#include "Plugin.h"
|
||||
|
||||
namespace plugin { namespace Testing_WithPatchVersion { Plugin plugin; } }
|
||||
|
||||
using namespace plugin::Testing_WithPatchVersion;
|
||||
|
||||
plugin::Configuration Plugin::Configure()
|
||||
{
|
||||
plugin::Configuration config;
|
||||
config.name = "Testing::WithPatchVersion";
|
||||
config.description = "Testing a plugin with a specified patch version";
|
||||
config.version.major = 0;
|
||||
config.version.minor = 1;
|
||||
config.version.patch = 4;
|
||||
return config;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue