mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
Fixing cmake dependencies and "make {install,clean}"
Also includes a bunch of cleanup.
This commit is contained in:
parent
10dc8b9279
commit
8752870967
86 changed files with 130 additions and 116 deletions
|
@ -9,14 +9,14 @@
|
|||
|
||||
#define _BRO_PLUGIN_VERSION_DEFAULT -1
|
||||
|
||||
#define BRO_PLUGIN_BEGIN(_name) \
|
||||
namespace plugin { namespace _name { \
|
||||
#define BRO_PLUGIN_BEGIN(_ns, _name) \
|
||||
namespace plugin { namespace _ns ## _ ## _name {\
|
||||
class Plugin : public plugin::Plugin { \
|
||||
protected: \
|
||||
void Init() \
|
||||
{ \
|
||||
SetName(#_name); \
|
||||
SetVersion(_BRO_PLUGIN_VERSION_DEFAULT); \
|
||||
SetName(#_ns "::" #_name); \
|
||||
SetVersion(_BRO_PLUGIN_VERSION_DEFAULT);\
|
||||
SetAPIVersion(BRO_PLUGIN_API_VERSION);
|
||||
|
||||
#define BRO_PLUGIN_END \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue