suricata
output-streaming.c File Reference
#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"
Include dependency graph for output-streaming.c:

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)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Logger for streaming data

Definition in file output-streaming.c.

Typedef Documentation

◆ OutputStreamingLogger

◆ OutputStreamingLoggerThreadData

per thread data for this module, contains a list of per thread data for the packet loggers.

◆ StreamerCallbackData

Function Documentation

◆ OutputStreamingLoggerRegister()

void OutputStreamingLoggerRegister ( void  )

Internal function: private API.

Definition at line 434 of file output-streaming.c.

References OutputRegisterRootLogger().

Here is the call graph for this function:

◆ OutputStreamingShutdown()

void OutputStreamingShutdown ( void  )

Internal function: private API.

Definition at line 439 of file output-streaming.c.

◆ SCOutputRegisterStreamingLogger()

int SCOutputRegisterStreamingLogger ( LoggerId  logger_id,
const char *  name,
SCStreamingLogger  LogFunc,
void *  initdata,
enum SCOutputStreamingType  stream_type,
ThreadInitFunc  ThreadInit,
ThreadDeinitFunc  ThreadDeinit 
)

Register a streaming logger.

Parameters
logger_idAn ID to uniquely identify this logger.
nameAn informational name for this logger.
LogFuncPointer to logging function.
initdataInitialization data that will be passed the ThreadInit.
stream_typeType of stream to log, see SCOutputStreamingType.
ThreadInitPointer to thread initialization function.
ThreadDeinitPointer to thread de-initialization function.

Definition at line 63 of file output-streaming.c.