suricata
alert-fastlog.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void AlertFastLogRegister (void)
 
OutputInitResult AlertFastLogInitCtx (SCConfNode *)
 Create a new LogFileCtx for "fast" output style.
 

Detailed Description

Function Documentation

◆ AlertFastLogInitCtx()

OutputInitResult AlertFastLogInitCtx ( SCConfNode conf)

Create a new LogFileCtx for "fast" output style.

Parameters
confThe configuration node for this output.
Returns
A LogFileCtx pointer on success, NULL on failure.

Definition at line 234 of file alert-fastlog.c.

References OutputInitResult_::ctx, OutputCtx_::data, DEFAULT_LOG_FILENAME, OutputCtx_::DeInit, LogFileFreeCtx(), LogFileNewCtx(), OutputInitResult_::ok, SCCalloc, SCConfLogOpenGeneric(), SCLogDebug, and unlikely.

Referenced by AlertFastLogRegister().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AlertFastLogRegister()

void AlertFastLogRegister ( void  )

Definition at line 77 of file alert-fastlog.c.

References AlertFastLogger(), AlertFastLogInitCtx(), AlertFastLogRegisterTests(), AlertFastLogThreadDeinit(), AlertFastLogThreadInit(), OutputPacketLoggerFunctions_::LogFunc, LOGGER_ALERT_FAST, MODULE_NAME, and OutputRegisterPacketModule().

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:
Here is the caller graph for this function: