mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Updates of the dynamic plugin code.
Includes: - Cleanup of the plugin API, in particular generally changing const char* to std::string - Renaming environment variable BRO_PLUGINS to BRO_PLUGIN_PATH, defaulting to <prefix>/lib/bro/plugins - Reworking how dynamic plugins are searched and activated. See doc/devel/plugins.rst for details. - New @load-plugin directive to explicitly activate a plugin - Support for Darwin. (Linux untested right now) - The init-plugin updates come with support for "make test", "make sdist", and "make bdist" (see how-to). - Test updates. Notes: The new hook mechanism, which allows plugins to hook into Bro's core a well-defined points, is still essentially untested.
This commit is contained in:
parent
987452beff
commit
a80dd10215
18 changed files with 257 additions and 143 deletions
|
@ -15,6 +15,7 @@ extern int brolex();
|
|||
extern char last_tok[128];
|
||||
|
||||
extern void add_input_file(const char* file);
|
||||
extern void add_input_file_at_front(const char* file);
|
||||
|
||||
// Adds the substrings (using the given delimiter) in a string to the
|
||||
// given namelist.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue