mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Rename all BRO-prefixed environment variables
For backward compatibility when reading values, we first check the ZEEK-prefixed value, and if not set, then check the corresponding BRO-prefixed value.
This commit is contained in:
parent
d6096b1618
commit
1a74516db1
105 changed files with 330 additions and 274 deletions
|
@ -326,9 +326,9 @@ std::string flatten_script_name(const std::string& name,
|
|||
std::string normalize_path(const std::string& path);
|
||||
|
||||
/**
|
||||
* Strip the BROPATH component from a path.
|
||||
* @param path A file/directory path that may be within a BROPATH component.
|
||||
* @return *path* minus the common BROPATH component (if any) removed.
|
||||
* Strip the ZEEKPATH component from a path.
|
||||
* @param path A file/directory path that may be within a ZEEKPATH component.
|
||||
* @return *path* minus the common ZEEKPATH component (if any) removed.
|
||||
*/
|
||||
std::string without_bropath_component(const std::string& path);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue