mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Add warnings when loading scripts ending in ".bro", or using legacy environment variables.
This commit is contained in:
parent
bbc308cb02
commit
649301b667
5 changed files with 64 additions and 18 deletions
|
@ -265,6 +265,9 @@ extern std::string bro_prefixes();
|
|||
|
||||
extern const std::array<std::string, 2> script_extensions;
|
||||
|
||||
/** Prints a warning if the filename ends in .bro. */
|
||||
void warn_if_legacy_script(const std::string_view& filename);
|
||||
|
||||
bool is_package_loader(const std::string& path);
|
||||
|
||||
extern void add_to_bro_path(const std::string& dir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue