|
suricata
|
#include "suricata-common.h"#include "output.h"#include "output-streaming.h"#include "app-layer.h"#include "app-layer-parser.h"#include "app-layer-htp.h"#include "util-print.h"#include "conf.h"#include "util-profiling.h"#include "stream-tcp.h"#include "stream-tcp-inline.h"#include "stream-tcp-reassemble.h"#include "util-validate.h"
Go to the source code of this file.
Data Structures | |
| struct | OutputStreamingLoggerThreadData_ |
| struct | OutputStreamingLogger_ |
| struct | StreamerCallbackData_ |
| struct | StreamLogData |
Typedefs | |
| typedef struct OutputStreamingLoggerThreadData_ | OutputStreamingLoggerThreadData |
| typedef struct OutputStreamingLogger_ | OutputStreamingLogger |
| typedef struct StreamerCallbackData_ | StreamerCallbackData |
Functions | |
| int | SCOutputRegisterStreamingLogger (LoggerId id, const char *name, SCStreamingLogger LogFunc, void *initdata, enum SCOutputStreamingType type, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit) |
| Register a streaming logger. More... | |
| void | OutputStreamingLoggerRegister (void) |
| void | OutputStreamingShutdown (void) |
Logger for streaming data
Definition in file output-streaming.c.
| typedef struct OutputStreamingLogger_ OutputStreamingLogger |
| typedef struct OutputStreamingLoggerThreadData_ OutputStreamingLoggerThreadData |
per thread data for this module, contains a list of per thread data for the packet loggers.
| typedef struct StreamerCallbackData_ StreamerCallbackData |
| void OutputStreamingLoggerRegister | ( | void | ) |
Internal function: private API.
Definition at line 432 of file output-streaming.c.
References OutputRegisterRootLogger().

| void OutputStreamingShutdown | ( | void | ) |
Internal function: private API.
Definition at line 437 of file output-streaming.c.
| int SCOutputRegisterStreamingLogger | ( | LoggerId | logger_id, |
| const char * | name, | ||
| SCStreamingLogger | LogFunc, | ||
| void * | initdata, | ||
| enum SCOutputStreamingType | stream_type, | ||
| ThreadInitFunc | ThreadInit, | ||
| ThreadDeinitFunc | ThreadDeinit | ||
| ) |
Register a streaming logger.
| logger_id | An ID to uniquely identify this logger. |
| name | An informational name for this logger. |
| LogFunc | Pointer to logging function. |
| initdata | Initialization data that will be passed the ThreadInit. |
| stream_type | Type of stream to log, see SCOutputStreamingType. |
| ThreadInit | Pointer to thread initialization function. |
| ThreadDeinit | Pointer to thread de-initialization function. |
Definition at line 63 of file output-streaming.c.