suricata
|
Go to the source code of this file.
Typedefs | |
typedef int(* | FileLogger) (ThreadVars *, void *thread_data, const Packet *, const File *, uint8_t direction) |
Functions | |
int | OutputRegisterFileLogger (LoggerId id, const char *name, FileLogger LogFunc, OutputCtx *, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats) |
void | OutputFileLoggerRegister (void) |
void | OutputFileShutdown (void) |
AppLayer File Logger Output registration functions
Definition in file output-file.h.
typedef int(* FileLogger) (ThreadVars *, void *thread_data, const Packet *, const File *, uint8_t direction) |
packet logger function pointer type
Definition at line 33 of file output-file.h.
void OutputFileLoggerRegister | ( | void | ) |
Definition at line 289 of file output-file.c.
References OutputRegisterRootLogger().
Referenced by OutputRegisterRootLoggers().
void OutputFileShutdown | ( | void | ) |
Definition at line 296 of file output-file.c.
int OutputRegisterFileLogger | ( | LoggerId | id, |
const char * | name, | ||
FileLogger | LogFunc, | ||
OutputCtx * | , | ||
ThreadInitFunc | ThreadInit, | ||
ThreadDeinitFunc | ThreadDeinit, | ||
ThreadExitPrintStatsFunc | ThreadExitPrintStats | ||
) |
packet logger condition function pointer type, must return true for packets that should be logged
Definition at line 67 of file output-file.c.
References OutputFileLogger_::LogFunc, OutputFileLogger_::logger_id, OutputFileLogger_::name, OutputFileLogger_::output_ctx, SCMalloc, OutputFileLogger_::ThreadDeinit, OutputFileLogger_::ThreadExitPrintStats, and OutputFileLogger_::ThreadInit.