Go to the documentation of this file.
26 #ifndef SURICATA_OUTPUT_FILE_H
27 #define SURICATA_OUTPUT_FILE_H
45 const bool file_close,
const bool file_trunc, uint8_t dir);
49 const uint64_t tx_id, uint8_t direction);
int(* SCFileLogger)(ThreadVars *, void *thread_data, const Packet *, const File *, void *tx, const uint64_t tx_id, uint8_t direction)
TmEcode OutputFileLogThreadDeinit(ThreadVars *tv, OutputFileLoggerThreadData *thread_data)
void OutputFileShutdown(void)
Per thread variable structure.
TmEcode(* ThreadInitFunc)(ThreadVars *, const void *, void **)
struct OutputFileLoggerThreadData_ OutputFileLoggerThreadData
struct AppLayerTxData AppLayerTxData
TmEcode OutputFileLogThreadInit(ThreadVars *tv, OutputFileLoggerThreadData **data)
thread init for the file logger This will run the thread init functions for the individual registered...
void OutputFileLoggerRegister(void)
int SCOutputRegisterFileLogger(LoggerId id, const char *name, SCFileLogger LogFunc, void *initdata, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit)
Register a file logger.
void OutputFileLogFfc(ThreadVars *tv, OutputFileLoggerThreadData *op_thread_data, Packet *p, FileContainer *ffc, void *txv, const uint64_t tx_id, AppLayerTxData *txd, const bool file_close, const bool file_trunc, uint8_t dir)
OutputLoggerThreadStore * store
TmEcode(* ThreadDeinitFunc)(ThreadVars *, void *)