suricata
output-filedata.h File Reference
#include "decode.h"
#include "util-file.h"
Include dependency graph for output-filedata.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OUTPUT_FILEDATA_FLAG_OPEN   0x01
 
#define OUTPUT_FILEDATA_FLAG_CLOSE   0x02
 

Typedefs

typedef int(* FiledataLogger) (ThreadVars *, void *thread_data, const Packet *, File *, const uint8_t *, uint32_t, uint8_t, uint8_t dir)
 

Functions

int OutputRegisterFiledataLogger (LoggerId id, const char *name, FiledataLogger LogFunc, OutputCtx *, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
 
void OutputFiledataLoggerRegister (void)
 
void OutputFiledataShutdown (void)
 

Detailed Description

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

AppLayer Filedata Logger Output registration functions

Definition in file output-filedata.h.

Macro Definition Documentation

◆ OUTPUT_FILEDATA_FLAG_CLOSE

#define OUTPUT_FILEDATA_FLAG_CLOSE   0x02

Definition at line 34 of file output-filedata.h.

◆ OUTPUT_FILEDATA_FLAG_OPEN

#define OUTPUT_FILEDATA_FLAG_OPEN   0x01

Definition at line 33 of file output-filedata.h.

Typedef Documentation

◆ FiledataLogger

typedef int(* FiledataLogger) (ThreadVars *, void *thread_data, const Packet *, File *, const uint8_t *, uint32_t, uint8_t, uint8_t dir)

filedata logger function pointer type

Definition at line 36 of file output-filedata.h.

Function Documentation

◆ OutputFiledataLoggerRegister()

void OutputFiledataLoggerRegister ( void  )

Definition at line 461 of file output-filedata.c.

References OutputRegisterRootLogger().

Referenced by OutputRegisterRootLoggers().

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

◆ OutputFiledataShutdown()

void OutputFiledataShutdown ( void  )

Definition at line 470 of file output-filedata.c.

◆ OutputRegisterFiledataLogger()

int OutputRegisterFiledataLogger ( LoggerId  id,
const char *  name,
FiledataLogger  LogFunc,
OutputCtx ,
ThreadInitFunc  ThreadInit,
ThreadDeinitFunc  ThreadDeinit,
ThreadExitPrintStatsFunc  ThreadExitPrintStats 
)