mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Add an internal getenv wrapper function: zeekenv
It maps newer environment variable names starting with ZEEK to the legacy names starting with BRO.
This commit is contained in:
parent
580822a32c
commit
7f0fb49612
14 changed files with 82 additions and 81 deletions
|
@ -549,4 +549,10 @@ std::string canonify_name(const std::string& name);
|
|||
*/
|
||||
void bro_strerror_r(int bro_errno, char* buf, size_t buflen);
|
||||
|
||||
/**
|
||||
* A wrapper function for getenv(). Helps check for existence of
|
||||
* legacy environment variable names that map to the latest \a name.
|
||||
*/
|
||||
char* zeekenv(const char* name);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue