mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Miscellaneous deprecations and renaming
This commit is contained in:
parent
d875ad1a96
commit
4d4c6280e9
14 changed files with 57 additions and 57 deletions
|
@ -339,7 +339,7 @@ static bool component_cmp(const Component* a, const Component* b)
|
|||
return a->Name() < b->Name();
|
||||
}
|
||||
|
||||
bool Plugin::LoadBroFile(const std::string& file)
|
||||
bool Plugin::LoadZeekFile(const std::string& file)
|
||||
{
|
||||
::add_input_file(file.c_str());
|
||||
return true;
|
||||
|
|
|
@ -726,7 +726,12 @@ public:
|
|||
* @return True if successful (which however may only mean
|
||||
* "successfully queued").
|
||||
*/
|
||||
bool LoadBroFile(const std::string& file);
|
||||
bool LoadZeekFile(const std::string& file);
|
||||
|
||||
[[deprecated("Remove in v6.1. Use LoadZeekFile.")]] bool LoadBroFile(const std::string& file)
|
||||
{
|
||||
return LoadZeekFile(file);
|
||||
}
|
||||
|
||||
protected:
|
||||
friend class Manager;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue