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

Go to the source code of this file.


typedef int(* TxLogger) (ThreadVars *, void *thread_data, const Packet *, Flow *f, void *state, void *tx, uint64_t tx_id)
typedef bool(* TxLoggerCondition) (ThreadVars *, const Packet *, void *state, void *tx, uint64_t tx_id)


int OutputRegisterTxLogger (LoggerId id, const char *name, AppProto alproto, TxLogger LogFunc, OutputCtx *, int tc_log_progress, int ts_log_progress, TxLoggerCondition LogCondition, ThreadInitFunc, ThreadDeinitFunc, void(*ThreadExitPrintStats)(ThreadVars *, void *))
void OutputTxLoggerRegister (void)
void OutputTxShutdown (void)

Detailed Description

Victor Julien

AppLayer TX Logger Output registration functions

Definition in file output-tx.h.

Typedef Documentation

◆ TxLogger

typedef int(* TxLogger) (ThreadVars *, void *thread_data, const Packet *, Flow *f, void *state, void *tx, uint64_t tx_id)

tx logger function pointer type

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

◆ TxLoggerCondition

typedef bool(* TxLoggerCondition) (ThreadVars *, const Packet *, void *state, void *tx, uint64_t tx_id)

tx logger condition function pointer type, must return true for tx that should be logged

Definition at line 38 of file output-tx.h.

Function Documentation

◆ OutputRegisterTxLogger()

◆ OutputTxLoggerRegister()

void OutputTxLoggerRegister ( void  )

Definition at line 667 of file output-tx.c.

References OutputRegisterRootLogger().

Referenced by OutputRegisterRootLoggers().

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

◆ OutputTxShutdown()

void OutputTxShutdown ( void  )

Definition at line 673 of file output-tx.c.

References ALPROTO_MAX.