mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
A set of input framework refactoring, cleanup, and polishing.
This commit is contained in:
parent
1416d5404d
commit
fc907c0090
14 changed files with 162 additions and 168 deletions
|
@ -6,6 +6,8 @@
|
|||
#include "../threading/MsgThread.h"
|
||||
#include "../threading/SerialTypes.h"
|
||||
|
||||
#include "ReaderBackend.h"
|
||||
|
||||
namespace input {
|
||||
|
||||
class Manager;
|
||||
|
@ -50,7 +52,7 @@ public:
|
|||
*
|
||||
* This method must only be called from the main thread.
|
||||
*/
|
||||
void Init(string arg_source, int mode, const int arg_num_fields, const threading::Field* const* fields);
|
||||
void Init(string arg_source, ReaderMode mode, const int arg_num_fields, const threading::Field* const* fields);
|
||||
|
||||
/**
|
||||
* Force an update of the current input source. Actual action depends
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue