mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
raw input reader for seth, which can simply read a file into string-events given a line separator.
This commit is contained in:
parent
531189b5fd
commit
7e5f733826
11 changed files with 363 additions and 2 deletions
|
@ -6,6 +6,7 @@
|
|||
#include "ReaderFrontend.h"
|
||||
#include "ReaderBackend.h"
|
||||
#include "readers/Ascii.h"
|
||||
#include "readers/Raw.h"
|
||||
|
||||
#include "Event.h"
|
||||
#include "EventHandler.h"
|
||||
|
@ -143,6 +144,7 @@ struct ReaderDefinition {
|
|||
|
||||
ReaderDefinition input_readers[] = {
|
||||
{ BifEnum::Input::READER_ASCII, "Ascii", 0, reader::Ascii::Instantiate },
|
||||
{ BifEnum::Input::READER_RAW, "Raw", 0, reader::Raw::Instantiate },
|
||||
|
||||
// End marker
|
||||
{ BifEnum::Input::READER_DEFAULT, "None", 0, (ReaderBackend* (*)(ReaderFrontend* frontend))0 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue