suricata
output.h
Go to the documentation of this file.
1 /* Copyright (C) 2007-2010 Open Information Security Foundation
2  *
3  * You can copy, redistribute or modify this Program under the terms of
4  * the GNU General Public License version 2 as published by the Free
5  * Software Foundation.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * version 2 along with this program; if not, write to the Free Software
14  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15  * 02110-1301, USA.
16  */
17 
18 /**
19  * \file
20  *
21  * \author Endace Technology Limited, Jason Ish <jason.ish@endace.com>
22  */
23 
24 #ifndef __OUTPUT_H__
25 #define __OUTPUT_H__
26 
27 #include "suricata.h"
28 #include "tm-threads.h"
29 
30 #define DEFAULT_LOG_MODE_APPEND "yes"
31 #define DEFAULT_LOG_FILETYPE "regular"
32 
33 #include "output-packet.h"
34 #include "output-tx.h"
35 #include "output-file.h"
36 #include "output-filedata.h"
37 #include "output-flow.h"
38 #include "output-streaming.h"
39 #include "output-stats.h"
40 
41 typedef struct OutputInitResult_ {
43  bool ok;
45 
48 typedef TmEcode (*OutputLogFunc)(ThreadVars *, Packet *, void *);
49 typedef uint32_t (*OutputGetActiveCountFunc)(void);
50 
51 typedef struct OutputModule_ {
53  const char *name;
54  const char *conf_name;
55  const char *parent_name;
58 
62 
76 
77  TAILQ_ENTRY(OutputModule_) entries;
78 } OutputModule;
79 
80 typedef TAILQ_HEAD(OutputModuleList_, OutputModule_) OutputModuleList;
81 extern OutputModuleList output_modules;
82 
83 void OutputRegisterModule(const char *, const char *, OutputInitFunc);
84 
85 void OutputRegisterPacketModule(LoggerId id, const char *name,
86  const char *conf_name, OutputInitFunc InitFunc, PacketLogger LogFunc,
89 void OutputRegisterPacketSubModule(LoggerId id, const char *parent_name,
90  const char *name, const char *conf_name, OutputInitSubFunc InitFunc,
91  PacketLogger LogFunc, PacketLogCondition ConditionFunc,
92  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
93  ThreadExitPrintStatsFunc ThreadExitPrintStats);
94 
95 void OutputRegisterTxModule(LoggerId id, const char *name,
96  const char *conf_name, OutputInitFunc InitFunc, AppProto alproto,
97  TxLogger TxLogFunc, ThreadInitFunc ThreadInit,
98  ThreadDeinitFunc ThreadDeinit,
99  ThreadExitPrintStatsFunc ThreadExitPrintStats);
100 void OutputRegisterTxSubModule(LoggerId id, const char *parent_name,
101  const char *name, const char *conf_name,
102  OutputInitSubFunc InitFunc, AppProto alproto, TxLogger TxLogFunc,
103  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
104  ThreadExitPrintStatsFunc ThreadExitPrintStats);
105 
106 void OutputRegisterTxModuleWithCondition(LoggerId id, const char *name,
107  const char *conf_name, OutputInitFunc InitFunc, AppProto alproto,
108  TxLogger TxLogFunc, TxLoggerCondition TxLogCondition,
109  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
110  ThreadExitPrintStatsFunc ThreadExitPrintStats);
112  const char *parent_name, const char *name, const char *conf_name,
113  OutputInitSubFunc InitFunc, AppProto alproto,
114  TxLogger TxLogFunc, TxLoggerCondition TxLogCondition,
115  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
116  ThreadExitPrintStatsFunc ThreadExitPrintStats);
117 
118 void OutputRegisterTxModuleWithProgress(LoggerId id, const char *name,
119  const char *conf_name, OutputInitFunc InitFunc, AppProto alproto,
120  TxLogger TxLogFunc, int tc_log_progress, int ts_log_progress,
121  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
122  ThreadExitPrintStatsFunc ThreadExitPrintStats);
123 void OutputRegisterTxSubModuleWithProgress(LoggerId id, const char *parent_name,
124  const char *name, const char *conf_name,
125  OutputInitSubFunc InitFunc, AppProto alproto, TxLogger TxLogFunc,
126  int tc_log_progress, int ts_log_progress, ThreadInitFunc ThreadInit,
127  ThreadDeinitFunc ThreadDeinit,
128  ThreadExitPrintStatsFunc ThreadExitPrintStats);
129 
130 void OutputRegisterFileModule(LoggerId id, const char *name,
131  const char *conf_name, OutputInitFunc InitFunc,
132  FileLogger FileLogFunc, ThreadInitFunc ThreadInit,
133  ThreadDeinitFunc ThreadDeinit,
134  ThreadExitPrintStatsFunc ThreadExitPrintStats);
135 void OutputRegisterFileSubModule(LoggerId id, const char *parent_name,
136  const char *name, const char *conf_name,
137  OutputInitSubFunc InitFunc, FileLogger FileLogFunc,
138  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
139  ThreadExitPrintStatsFunc ThreadExitPrintStats);
140 
141 void OutputRegisterFiledataModule(LoggerId id, const char *name,
142  const char *conf_name, OutputInitFunc InitFunc,
143  FiledataLogger FiledataLogFunc, ThreadInitFunc ThreadInit,
144  ThreadDeinitFunc ThreadDeinit,
145  ThreadExitPrintStatsFunc ThreadExitPrintStats);
146 void OutputRegisterFiledataSubModule(LoggerId, const char *parent_name,
147  const char *name, const char *conf_name, OutputInitSubFunc InitFunc,
148  FiledataLogger FiledataLogFunc, ThreadInitFunc ThreadInit,
149  ThreadDeinitFunc ThreadDeinit,
150  ThreadExitPrintStatsFunc ThreadExitPrintStats);
151 
152 void OutputRegisterFlowModule(LoggerId id, const char *name,
153  const char *conf_name, OutputInitFunc InitFunc,
154  FlowLogger FlowLogFunc, ThreadInitFunc ThreadInit,
155  ThreadDeinitFunc ThreadDeinit,
156  ThreadExitPrintStatsFunc ThreadExitPrintStats);
157 void OutputRegisterFlowSubModule(LoggerId id, const char *parent_name,
158  const char *name, const char *conf_name, OutputInitSubFunc InitFunc,
159  FlowLogger FlowLogFunc, ThreadInitFunc ThreadInit,
160  ThreadDeinitFunc ThreadDeinit,
161  ThreadExitPrintStatsFunc ThreadExitPrintStats);
162 
163 void OutputRegisterStreamingModule(LoggerId id, const char *name,
164  const char *conf_name, OutputInitFunc InitFunc,
165  StreamingLogger StreamingLogFunc, enum OutputStreamingType stream_type,
166  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
167  ThreadExitPrintStatsFunc ThreadExitPrintStats);
168 void OutputRegisterStreamingSubModule(LoggerId id, const char *parent_name,
169  const char *name, const char *conf_name,
170  OutputInitSubFunc InitFunc, StreamingLogger StreamingLogFunc,
171  enum OutputStreamingType stream_type,
172  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
173  ThreadExitPrintStatsFunc ThreadExitPrintStats);
174 
175 void OutputRegisterStatsModule(LoggerId id, const char *name,
176  const char *conf_name, OutputInitFunc InitFunc,
177  StatsLogger StatsLogFunc, ThreadInitFunc ThreadInit,
178  ThreadDeinitFunc ThreadDeinit,
179  ThreadExitPrintStatsFunc ThreadExitPrintStats);
180 void OutputRegisterStatsSubModule(LoggerId id, const char *parent_name,
181  const char *name, const char *conf_name,
182  OutputInitSubFunc InitFunc,
183  StatsLogger StatsLogFunc, ThreadInitFunc ThreadInit,
184  ThreadDeinitFunc ThreadDeinit,
185  ThreadExitPrintStatsFunc ThreadExitPrintStats);
186 
187 OutputModule *OutputGetModuleByConfName(const char *name);
188 void OutputDeregisterAll(void);
189 
190 int OutputDropLoggerEnable(void);
191 void OutputDropLoggerDisable(void);
192 
193 void OutputRegisterFileRotationFlag(int *flag);
194 void OutputUnregisterFileRotationFlag(int *flag);
195 void OutputNotifyFileRotation(void);
196 
198  ThreadDeinitFunc ThreadDeinit,
199  ThreadExitPrintStatsFunc ThreadExitPrintStats,
200  OutputLogFunc LogFunc, OutputGetActiveCountFunc ActiveCntFunc);
201 void TmModuleLoggerRegister(void);
202 
204 TmEcode OutputLoggerThreadInit(ThreadVars *, const void *, void **);
206 void OutputLoggerExitPrintStats(ThreadVars *, void *);
207 
208 void OutputSetupActiveLoggers(void);
209 void OutputClearActiveLoggers(void);
210 
211 #endif /* ! __OUTPUT_H__ */
OutputRegisterTxModule
void OutputRegisterTxModule(LoggerId id, const char *name, const char *conf_name, OutputInitFunc InitFunc, AppProto alproto, TxLogger TxLogFunc, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a tx output module.
Definition: output.c:400
OutputRegisterFileSubModule
void OutputRegisterFileSubModule(LoggerId id, const char *parent_name, const char *name, const char *conf_name, OutputInitSubFunc InitFunc, FileLogger FileLogFunc, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a file output sub-module.
Definition: output.c:469
OutputRegisterPacketSubModule
void OutputRegisterPacketSubModule(LoggerId id, const char *parent_name, const char *name, const char *conf_name, OutputInitSubFunc InitFunc, PacketLogger LogFunc, PacketLogCondition ConditionFunc, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a packet output sub-module.
Definition: output.c:213
OutputModule_::parent_name
const char * parent_name
Definition: output.h:55
tm-threads.h
OutputRegisterTxSubModuleWithProgress
void OutputRegisterTxSubModuleWithProgress(LoggerId id, const char *parent_name, const char *name, const char *conf_name, OutputInitSubFunc InitFunc, AppProto alproto, TxLogger TxLogFunc, int tc_log_progress, int ts_log_progress, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Definition: output.c:380
output-tx.h
OutputLogFunc
TmEcode(* OutputLogFunc)(ThreadVars *, Packet *, void *)
Definition: output.h:48
OutputLoggerThreadInit
TmEcode OutputLoggerThreadInit(ThreadVars *, const void *, void **)
Definition: output.c:941
TAILQ_HEAD
typedef TAILQ_HEAD(OutputModuleList_, OutputModule_) OutputModuleList
OutputRegisterRootLogger
void OutputRegisterRootLogger(ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats, OutputLogFunc LogFunc, OutputGetActiveCountFunc ActiveCntFunc)
Definition: output.c:1012
output-filedata.h
OutputModule
struct OutputModule_ OutputModule
AppProto
uint16_t AppProto
Definition: app-layer-protos.h:71
output-streaming.h
OutputInitResult
struct OutputInitResult_ OutputInitResult
OutputModule_::name
const char * name
Definition: output.h:53
OutputModule_::StreamingLogFunc
StreamingLogger StreamingLogFunc
Definition: output.h:70
OutputModule_::FileLogFunc
FileLogger FileLogFunc
Definition: output.h:67
StreamingLogger
int(* StreamingLogger)(ThreadVars *, void *thread_data, const Flow *f, const uint8_t *data, uint32_t data_len, uint64_t tx_id, uint8_t flags)
Definition: output-streaming.h:44
OutputModule_::logger_id
LoggerId logger_id
Definition: output.h:52
LoggerId
LoggerId
Definition: suricata-common.h:416
OutputModule_::ts_log_progress
int ts_log_progress
Definition: output.h:75
OutputRegisterFileModule
void OutputRegisterFileModule(LoggerId id, const char *name, const char *conf_name, OutputInitFunc InitFunc, FileLogger FileLogFunc, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a file output module.
Definition: output.c:430
OutputModule_::StatsLogFunc
StatsLogger StatsLogFunc
Definition: output.h:71
OutputModule_::TAILQ_ENTRY
TAILQ_ENTRY(OutputModule_) entries
TxLogger
int(* TxLogger)(ThreadVars *, void *thread_data, const Packet *, Flow *f, void *state, void *tx, uint64_t tx_id)
Definition: output-tx.h:32
FlowLogger
int(* FlowLogger)(ThreadVars *, void *thread_data, Flow *f)
Definition: output-flow.h:32
output-packet.h
OutputRegisterFiledataModule
void OutputRegisterFiledataModule(LoggerId id, const char *name, const char *conf_name, OutputInitFunc InitFunc, FiledataLogger FiledataLogFunc, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a file data output module.
Definition: output.c:510
PacketLogger
int(* PacketLogger)(ThreadVars *, void *thread_data, const Packet *)
Definition: output-packet.h:33
FiledataLogger
int(* FiledataLogger)(ThreadVars *, void *thread_data, const Packet *, File *, const uint8_t *, uint32_t, uint8_t, uint8_t dir)
Definition: output-filedata.h:36
OutputModule_::InitSubFunc
OutputInitSubFunc InitSubFunc
Definition: output.h:57
OutputGetModuleByConfName
OutputModule * OutputGetModuleByConfName(const char *name)
Get an output module by name.
Definition: output.c:833
OutputRegisterPacketModule
void OutputRegisterPacketModule(LoggerId id, const char *name, const char *conf_name, OutputInitFunc InitFunc, PacketLogger LogFunc, PacketLogCondition ConditionFunc, ThreadInitFunc, ThreadDeinitFunc, ThreadExitPrintStatsFunc)
Register a packet output module.
Definition: output.c:172
OutputRegisterStatsSubModule
void OutputRegisterStatsSubModule(LoggerId id, const char *parent_name, const char *name, const char *conf_name, OutputInitSubFunc InitFunc, StatsLogger StatsLogFunc, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a stats data output sub-module.
Definition: output.c:794
OutputModule_::PacketLogFunc
PacketLogger PacketLogFunc
Definition: output.h:63
OutputLoggerLog
TmEcode OutputLoggerLog(ThreadVars *, Packet *, void *)
Definition: output.c:926
OutputModule_::alproto
AppProto alproto
Definition: output.h:72
OutputDeregisterAll
void OutputDeregisterAll(void)
Deregister all modules. Useful for a memory clean exit.
Definition: output.c:848
OutputCtx_
Definition: tm-modules.h:78
OutputModule_::stream_type
enum OutputStreamingType stream_type
Definition: output.h:73
OutputRegisterStatsModule
void OutputRegisterStatsModule(LoggerId id, const char *name, const char *conf_name, OutputInitFunc InitFunc, StatsLogger StatsLogFunc, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a stats data output module.
Definition: output.c:755
OutputRegisterTxSubModuleWithCondition
void OutputRegisterTxSubModuleWithCondition(LoggerId id, const char *parent_name, const char *name, const char *conf_name, OutputInitSubFunc InitFunc, AppProto alproto, TxLogger TxLogFunc, TxLoggerCondition TxLogCondition, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Definition: output.c:349
OutputModule_::ThreadInit
ThreadInitFunc ThreadInit
Definition: output.h:59
output_modules
OutputModuleList output_modules
OutputInitSubFunc
OutputInitResult(* OutputInitSubFunc)(ConfNode *, OutputCtx *)
Definition: output.h:47
OutputDropLoggerDisable
void OutputDropLoggerDisable(void)
Definition: output.c:868
OutputModule_::FiledataLogFunc
FiledataLogger FiledataLogFunc
Definition: output.h:68
OutputRegisterTxModuleWithProgress
void OutputRegisterTxModuleWithProgress(LoggerId id, const char *name, const char *conf_name, OutputInitFunc InitFunc, AppProto alproto, TxLogger TxLogFunc, int tc_log_progress, int ts_log_progress, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a tx output module with progress.
Definition: output.c:369
OutputInitResult_::ctx
OutputCtx * ctx
Definition: output.h:42
OutputModule_::ThreadDeinit
ThreadDeinitFunc ThreadDeinit
Definition: output.h:60
output-file.h
OutputRegisterModule
void OutputRegisterModule(const char *, const char *, OutputInitFunc)
ThreadVars_
Per thread variable structure.
Definition: threadvars.h:57
ThreadInitFunc
TmEcode(* ThreadInitFunc)(ThreadVars *, const void *, void **)
Definition: tm-modules.h:39
OutputInitResult_::ok
bool ok
Definition: output.h:43
OutputRegisterStreamingModule
void OutputRegisterStreamingModule(LoggerId id, const char *name, const char *conf_name, OutputInitFunc InitFunc, StreamingLogger StreamingLogFunc, enum OutputStreamingType stream_type, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a streaming data output module.
Definition: output.c:671
OutputUnregisterFileRotationFlag
void OutputUnregisterFileRotationFlag(int *flag)
Unregister a file rotation flag.
Definition: output.c:902
OutputModule_::conf_name
const char * conf_name
Definition: output.h:54
OutputModule_::FlowLogFunc
FlowLogger FlowLogFunc
Definition: output.h:69
Packet_
Definition: decode.h:408
OutputRegisterFlowSubModule
void OutputRegisterFlowSubModule(LoggerId id, const char *parent_name, const char *name, const char *conf_name, OutputInitSubFunc InitFunc, FlowLogger FlowLogFunc, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a flow output sub-module.
Definition: output.c:630
TmModuleLoggerRegister
void TmModuleLoggerRegister(void)
Definition: output.c:1067
OutputClearActiveLoggers
void OutputClearActiveLoggers(void)
Definition: output.c:1058
TmEcode
TmEcode
Definition: tm-threads-common.h:77
OutputRegisterFlowModule
void OutputRegisterFlowModule(LoggerId id, const char *name, const char *conf_name, OutputInitFunc InitFunc, FlowLogger FlowLogFunc, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a flow output module.
Definition: output.c:591
output-flow.h
OutputModule_::ThreadExitPrintStats
ThreadExitPrintStatsFunc ThreadExitPrintStats
Definition: output.h:61
OutputDropLoggerEnable
int OutputDropLoggerEnable(void)
Definition: output.c:860
OutputInitResult_
Definition: output.h:41
OutputModule_::TxLogCondition
TxLoggerCondition TxLogCondition
Definition: output.h:66
ThreadExitPrintStatsFunc
void(* ThreadExitPrintStatsFunc)(ThreadVars *, void *)
Definition: tm-modules.h:41
FileLogger
int(* FileLogger)(ThreadVars *, void *thread_data, const Packet *, const File *, uint8_t direction)
Definition: output-file.h:33
OutputRegisterTxModuleWithCondition
void OutputRegisterTxModuleWithCondition(LoggerId id, const char *name, const char *conf_name, OutputInitFunc InitFunc, AppProto alproto, TxLogger TxLogFunc, TxLoggerCondition TxLogCondition, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a tx output module with condition.
Definition: output.c:338
OutputLoggerThreadDeinit
TmEcode OutputLoggerThreadDeinit(ThreadVars *, void *)
Definition: output.c:972
OutputModule_::PacketConditionFunc
PacketLogCondition PacketConditionFunc
Definition: output.h:64
OutputGetActiveCountFunc
uint32_t(* OutputGetActiveCountFunc)(void)
Definition: output.h:49
TxLoggerCondition
int(* TxLoggerCondition)(ThreadVars *, const Packet *, void *state, void *tx, uint64_t tx_id)
Definition: output-tx.h:37
OutputRegisterFileRotationFlag
void OutputRegisterFileRotationFlag(int *flag)
Register a flag for file rotation notification.
Definition: output.c:880
OutputStreamingType
OutputStreamingType
Definition: output-streaming.h:38
OutputNotifyFileRotation
void OutputNotifyFileRotation(void)
Notifies all registered file rotation notification flags.
Definition: output.c:919
ConfNode_
Definition: conf.h:32
StatsLogger
int(* StatsLogger)(ThreadVars *, void *thread_data, const StatsTable *)
Definition: output-stats.h:47
OutputModule_::TxLogFunc
TxLogger TxLogFunc
Definition: output.h:65
OutputModule_::tc_log_progress
int tc_log_progress
Definition: output.h:74
OutputInitFunc
OutputInitResult(* OutputInitFunc)(ConfNode *)
Definition: output.h:46
PacketLogCondition
int(* PacketLogCondition)(ThreadVars *, const Packet *)
Definition: output-packet.h:38
suricata.h
OutputRegisterStreamingSubModule
void OutputRegisterStreamingSubModule(LoggerId id, const char *parent_name, const char *name, const char *conf_name, OutputInitSubFunc InitFunc, StreamingLogger StreamingLogFunc, enum OutputStreamingType stream_type, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a streaming data output sub-module.
Definition: output.c:713
output-stats.h
OutputLoggerExitPrintStats
void OutputLoggerExitPrintStats(ThreadVars *, void *)
Definition: output.c:998
OutputModule_
Definition: output.h:51
OutputRegisterFiledataSubModule
void OutputRegisterFiledataSubModule(LoggerId, const char *parent_name, const char *name, const char *conf_name, OutputInitSubFunc InitFunc, FiledataLogger FiledataLogFunc, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Register a file data output sub-module.
Definition: output.c:550
OutputRegisterTxSubModule
void OutputRegisterTxSubModule(LoggerId id, const char *parent_name, const char *name, const char *conf_name, OutputInitSubFunc InitFunc, AppProto alproto, TxLogger TxLogFunc, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats)
Definition: output.c:411
ThreadDeinitFunc
TmEcode(* ThreadDeinitFunc)(ThreadVars *, void *)
Definition: tm-modules.h:40
OutputModule_::InitFunc
OutputInitFunc InitFunc
Definition: output.h:56
OutputSetupActiveLoggers
void OutputSetupActiveLoggers(void)
Definition: output.c:1045