26#ifndef SURICATA_OUTPUT_STREAMING_H
27#define SURICATA_OUTPUT_STREAMING_H
29#define OUTPUT_STREAMING_FLAG_OPEN 0x01
30#define OUTPUT_STREAMING_FLAG_CLOSE 0x02
31#define OUTPUT_STREAMING_FLAG_TOSERVER 0x04
32#define OUTPUT_STREAMING_FLAG_TOCLIENT 0x08
33#define OUTPUT_STREAMING_FLAG_TRANSACTION 0x10
42 const uint8_t *data, uint32_t data_len, uint64_t tx_id, uint8_t
flags);
int(* SCStreamingLogger)(ThreadVars *, void *thread_data, const Flow *f, const uint8_t *data, uint32_t data_len, uint64_t tx_id, uint8_t flags)
void OutputStreamingLoggerRegister(void)
int SCOutputRegisterStreamingLogger(LoggerId logger_id, const char *name, SCStreamingLogger LogFunc, void *initdata, enum SCOutputStreamingType stream_type, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit)
Register a streaming logger.
void OutputStreamingShutdown(void)
Per thread variable structure.
TmEcode(* ThreadDeinitFunc)(ThreadVars *, void *)
TmEcode(* ThreadInitFunc)(ThreadVars *, const void *, void **)