suricata
|
Go to the source code of this file.
Functions | |
void | LogTcpDataLogRegister (void) |
OutputInitResult | LogTcpDataLogInitCtx (ConfNode *) |
Create a new http log LogFileCtx. More... | |
Definition in file log-tcp-data.h.
OutputInitResult LogTcpDataLogInitCtx | ( | ConfNode * | conf | ) |
Create a new http log LogFileCtx.
conf | Pointer to ConfNode containing this loggers configuration. |
Definition at line 211 of file log-tcp-data.c.
References ConfigGetLogDirectory(), ConfNodeLookupChildValue(), OutputCtx_::data, DEFAULT_LOG_FILENAME, OutputCtx_::DeInit, LogTcpDataFileCtx_::dir, LogTcpDataFileCtx_::file, LogTcpDataFileCtx_::file_ctx, LogTcpDataFileCtx_::log_dir, LogFileFreeCtx(), LogFileNewCtx(), ConfNode_::name, SCCalloc, SCConfLogOpenGeneric(), SCFree, SCLogError, SCLogInfo, SCMkDir, STREAMING_HTTP_BODIES, STREAMING_TCP_DATA, strlcpy(), LogTcpDataFileCtx_::type, and unlikely.
Referenced by LogTcpDataLogRegister().
void LogTcpDataLogRegister | ( | void | ) |
Definition at line 46 of file log-tcp-data.c.
References LOGGER_TCP_DATA, LogTcpDataLogger(), LogTcpDataLogInitCtx(), LogTcpDataLogThreadDeinit(), LogTcpDataLogThreadInit(), MODULE_NAME, OutputRegisterStreamingModule(), STREAMING_HTTP_BODIES, and STREAMING_TCP_DATA.