mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
Move Flare/Pipe from the bro namespace to zeek::detail
This commit is contained in:
parent
60ed29c3b6
commit
4a1b39a2be
9 changed files with 18 additions and 19 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "Pipe.h"
|
||||
|
||||
namespace bro {
|
||||
namespace zeek::detail {
|
||||
|
||||
class Flare {
|
||||
public:
|
||||
|
@ -21,8 +21,7 @@ public:
|
|||
* @return a file descriptor that will become ready if the flare has been
|
||||
* Fire()'d and not yet Extinguished()'d.
|
||||
*/
|
||||
int FD() const
|
||||
{ return pipe.ReadFD(); }
|
||||
int FD() const { return pipe.ReadFD(); }
|
||||
|
||||
/**
|
||||
* Put the object in the "ready" state.
|
||||
|
@ -44,4 +43,4 @@ private:
|
|||
Pipe pipe;
|
||||
};
|
||||
|
||||
} // namespace bro
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue