Added --include-plugins configure argument

This commit is contained in:
Seth Hall 2021-02-16 10:59:05 -05:00 committed by Tim Wojtulewicz
parent e0d284ec9f
commit e399b537ca
11 changed files with 146 additions and 22 deletions

View file

@ -410,6 +410,12 @@ public:
*/
static void RegisterBifFile(const char* plugin, bif_init_func c);
/**
* Adds the paths from built-in plugins (e.g. from --include-plugins)
* to ZEEKPATH so they are loaded correctly.
*/
void ExtendZeekPathForPlugins();
private:
bool ActivateDynamicPluginInternal(const std::string& name, bool ok_if_not_found, std::vector<std::string>* errors);
void UpdateInputFiles();