mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +00:00
Move zeek::net namespace to zeek::run_state namespace.
This also moves all of the code from Net.{h,cc} to RunState.{h,cc} and marks Net.h as deprecated
This commit is contained in:
parent
d608e7c9a5
commit
0ac3fafe13
64 changed files with 477 additions and 467 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
#include "Net.h"
|
||||
#include "RunState.h"
|
||||
#include "threading/SerialTypes.h"
|
||||
#include "broker/Manager.h"
|
||||
|
||||
|
@ -226,7 +226,7 @@ void WriterFrontend::Write(int arg_num_fields, Value** vals)
|
|||
|
||||
write_buffer[write_buffer_pos++] = vals;
|
||||
|
||||
if ( write_buffer_pos >= WRITER_BUFFER_SIZE || ! buf || zeek::net::terminating )
|
||||
if ( write_buffer_pos >= WRITER_BUFFER_SIZE || ! buf || zeek::run_state::terminating )
|
||||
// Buffer full (or no bufferin desired or termiating).
|
||||
FlushWriteBuffer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue