mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
broker/Eventhandler: Deprecate Broker::auto_publish() for v8.1
Relates to #3637
This commit is contained in:
parent
455e05bc2e
commit
6abb9d7eda
6 changed files with 29 additions and 5 deletions
|
@ -35,9 +35,15 @@ public:
|
|||
|
||||
void SetFunc(FuncPtr f);
|
||||
|
||||
void AutoPublish(std::string topic) { auto_publish.insert(std::move(topic)); }
|
||||
[[deprecated("Remove in v8.1, use explicit Publish().")]]
|
||||
void AutoPublish(std::string topic) {
|
||||
auto_publish.insert(std::move(topic));
|
||||
}
|
||||
|
||||
void AutoUnpublish(const std::string& topic) { auto_publish.erase(topic); }
|
||||
[[deprecated("Remove in v8.1.")]]
|
||||
void AutoUnpublish(const std::string& topic) {
|
||||
auto_publish.erase(topic);
|
||||
}
|
||||
|
||||
void Call(zeek::Args* vl, bool no_remote = false, double ts = run_state::network_time);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue