mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Add supervisor node creation
This commit is contained in:
parent
7c08488dfc
commit
573e127672
5 changed files with 115 additions and 35 deletions
|
@ -141,3 +141,9 @@ Pipe& Pipe::operator=(const Pipe& other)
|
|||
status_flags[1] = other.status_flags[1];
|
||||
return *this;
|
||||
}
|
||||
|
||||
PipePair::PipePair(int flags, int status_flags, int* fds)
|
||||
: pipes{Pipe(flags, flags, status_flags, status_flags, fds ? fds + 0 : nullptr),
|
||||
Pipe(flags, flags, status_flags, status_flags, fds ? fds + 2 : nullptr)}
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue