suricata
output.h
Go to the documentation of this file.
1 /* Copyright (C) 2007-2022 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 #include "util-config.h"
42 
43 typedef struct OutputLoggerThreadStore_ {
44  void *thread_data;
47 
48 typedef struct OutputInitResult_ {
50  bool ok;
52 
55 typedef TmEcode (*OutputLogFunc)(ThreadVars *, Packet *, void *);
56 typedef uint32_t (*OutputGetActiveCountFunc)(void);
57 
58 typedef struct OutputModule_ {
60  const char *name;
61  const char *conf_name;
62  const char *parent_name;
65 
69 
83 
86 
87 typedef TAILQ_HEAD(OutputModuleList_, OutputModule_) OutputModuleList;
88 extern OutputModuleList output_modules;
89 
90 void OutputRegisterModule(const char *, const char *, OutputInitFunc);
91 
92 void OutputRegisterPacketModule(LoggerId id, const char *name,
93  const char *conf_name, OutputInitFunc InitFunc, PacketLogger LogFunc,
96 void OutputRegisterPacketSubModule(LoggerId id, const char *parent_name,
97  const char *name, const char *conf_name, OutputInitSubFunc InitFunc,
98  PacketLogger LogFunc, PacketLogCondition ConditionFunc,
99  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
100  ThreadExitPrintStatsFunc ThreadExitPrintStats);
101 
102 void OutputRegisterTxModule(LoggerId id, const char *name,
103  const char *conf_name, OutputInitFunc InitFunc, AppProto alproto,
104  TxLogger TxLogFunc, ThreadInitFunc ThreadInit,
105  ThreadDeinitFunc ThreadDeinit,
106  ThreadExitPrintStatsFunc ThreadExitPrintStats);
107 void OutputRegisterTxSubModule(LoggerId id, const char *parent_name,
108  const char *name, const char *conf_name,
109  OutputInitSubFunc InitFunc, AppProto alproto, TxLogger TxLogFunc,
110  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
111  ThreadExitPrintStatsFunc ThreadExitPrintStats);
112 
113 void OutputRegisterTxModuleWithCondition(LoggerId id, const char *name,
114  const char *conf_name, OutputInitFunc InitFunc, AppProto alproto,
115  TxLogger TxLogFunc, TxLoggerCondition TxLogCondition,
116  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
117  ThreadExitPrintStatsFunc ThreadExitPrintStats);
119  const char *parent_name, const char *name, const char *conf_name,
120  OutputInitSubFunc InitFunc, AppProto alproto,
121  TxLogger TxLogFunc, TxLoggerCondition TxLogCondition,
122  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
123  ThreadExitPrintStatsFunc ThreadExitPrintStats);
124 
125 void OutputRegisterTxModuleWithProgress(LoggerId id, const char *name,
126  const char *conf_name, OutputInitFunc InitFunc, AppProto alproto,
127  TxLogger TxLogFunc, int tc_log_progress, int ts_log_progress,
128  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
129  ThreadExitPrintStatsFunc ThreadExitPrintStats);
130 void OutputRegisterTxSubModuleWithProgress(LoggerId id, const char *parent_name,
131  const char *name, const char *conf_name,
132  OutputInitSubFunc InitFunc, AppProto alproto, TxLogger TxLogFunc,
133  int tc_log_progress, int ts_log_progress, ThreadInitFunc ThreadInit,
134  ThreadDeinitFunc ThreadDeinit,
135  ThreadExitPrintStatsFunc ThreadExitPrintStats);
136 
137 void OutputRegisterFileModule(LoggerId id, const char *name,
138  const char *conf_name, OutputInitFunc InitFunc,
139  FileLogger FileLogFunc, ThreadInitFunc ThreadInit,
140  ThreadDeinitFunc ThreadDeinit,
141  ThreadExitPrintStatsFunc ThreadExitPrintStats);
142 void OutputRegisterFileSubModule(LoggerId id, const char *parent_name,
143  const char *name, const char *conf_name,
144  OutputInitSubFunc InitFunc, FileLogger FileLogFunc,
145  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
146  ThreadExitPrintStatsFunc ThreadExitPrintStats);
147 
148 void OutputRegisterFiledataModule(LoggerId id, const char *name,
149  const char *conf_name, OutputInitFunc InitFunc,
150  FiledataLogger FiledataLogFunc, ThreadInitFunc ThreadInit,
151  ThreadDeinitFunc ThreadDeinit,
152  ThreadExitPrintStatsFunc ThreadExitPrintStats);
153 void OutputRegisterFiledataSubModule(LoggerId, const char *parent_name,
154  const char *name, const char *conf_name, OutputInitSubFunc InitFunc,
155  FiledataLogger FiledataLogFunc, ThreadInitFunc ThreadInit,
156  ThreadDeinitFunc ThreadDeinit,
157  ThreadExitPrintStatsFunc ThreadExitPrintStats);
158 
159 void OutputRegisterFlowSubModule(LoggerId id, const char *parent_name,
160  const char *name, const char *conf_name, OutputInitSubFunc InitFunc,
161  FlowLogger FlowLogFunc, ThreadInitFunc ThreadInit,
162  ThreadDeinitFunc ThreadDeinit,
163  ThreadExitPrintStatsFunc ThreadExitPrintStats);
164 
165 void OutputRegisterStreamingModule(LoggerId id, const char *name,
166  const char *conf_name, OutputInitFunc InitFunc,
167  StreamingLogger StreamingLogFunc, enum OutputStreamingType stream_type,
168  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
169  ThreadExitPrintStatsFunc ThreadExitPrintStats);
170 void OutputRegisterStreamingSubModule(LoggerId id, const char *parent_name,
171  const char *name, const char *conf_name,
172  OutputInitSubFunc InitFunc, StreamingLogger StreamingLogFunc,
173  enum OutputStreamingType stream_type,
174  ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit,
175  ThreadExitPrintStatsFunc ThreadExitPrintStats);
176 
177 void OutputRegisterStatsModule(LoggerId id, const char *name,
178  const char *conf_name, OutputInitFunc InitFunc,
179  StatsLogger StatsLogFunc, ThreadInitFunc ThreadInit,
180  ThreadDeinitFunc ThreadDeinit,
181  ThreadExitPrintStatsFunc ThreadExitPrintStats);
182 void OutputRegisterStatsSubModule(LoggerId id, const char *parent_name,
183  const char *name, const char *conf_name,
184  OutputInitSubFunc InitFunc,
185  StatsLogger StatsLogFunc, ThreadInitFunc ThreadInit,
186  ThreadDeinitFunc ThreadDeinit,
187  ThreadExitPrintStatsFunc ThreadExitPrintStats);
188 
189 OutputModule *OutputGetModuleByConfName(const char *name);
190 void OutputDeregisterAll(void);
191 
192 int OutputDropLoggerEnable(void);
193 void OutputDropLoggerDisable(void);
194 
195 void OutputRegisterFileRotationFlag(int *flag);
196 void OutputUnregisterFileRotationFlag(int *flag);
197 void OutputNotifyFileRotation(void);
198 
200  ThreadDeinitFunc ThreadDeinit,
201  ThreadExitPrintStatsFunc ThreadExitPrintStats,
202  OutputLogFunc LogFunc, OutputGetActiveCountFunc ActiveCntFunc);
203 void TmModuleLoggerRegister(void);
204 
206 TmEcode OutputLoggerThreadInit(ThreadVars *, const void *, void **);
208 void OutputLoggerExitPrintStats(ThreadVars *, void *);
209 
210 void OutputSetupActiveLoggers(void);
211 void OutputClearActiveLoggers(void);
212 
213 #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:401
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:217
OutputModule_::parent_name
const char * parent_name
Definition: output.h:62
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:381
output-tx.h
OutputLogFunc
TmEcode(* OutputLogFunc)(ThreadVars *, Packet *, void *)
Definition: output.h:55
OutputLoggerThreadStore_
Definition: output-stats.c:31
OutputLoggerThreadStore_::next
struct OutputLoggerThreadStore_ * next
Definition: output-stats.c:33
OutputLoggerThreadInit
TmEcode OutputLoggerThreadInit(ThreadVars *, const void *, void **)
Definition: output.c:894
TAILQ_HEAD
typedef TAILQ_HEAD(OutputModuleList_, OutputModule_) OutputModuleList
OutputRegisterRootLogger
void OutputRegisterRootLogger(ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit, ThreadExitPrintStatsFunc ThreadExitPrintStats, OutputLogFunc LogFunc, OutputGetActiveCountFunc ActiveCntFunc)
Definition: output.c:965
output-filedata.h
OutputModule
struct OutputModule_ OutputModule
AppProto
uint16_t AppProto
Definition: app-layer-protos.h:80
output-streaming.h
OutputInitResult
struct OutputInitResult_ OutputInitResult
OutputModule_::name
const char * name
Definition: output.h:60
OutputModule_::StreamingLogFunc
StreamingLogger StreamingLogFunc
Definition: output.h:77
OutputModule_::FileLogFunc
FileLogger FileLogFunc
Definition: output.h:74
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:59
LoggerId
LoggerId
Definition: suricata-common.h:437
OutputModule_::ts_log_progress
int ts_log_progress
Definition: output.h:82
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:431
OutputModule_::StatsLogFunc
StatsLogger StatsLogFunc
Definition: output.h:78
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:509
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:64
OutputGetModuleByConfName
OutputModule * OutputGetModuleByConfName(const char *name)
Get an output module by name.
Definition: output.c:786
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:177
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:748
OutputModule_::PacketLogFunc
PacketLogger PacketLogFunc
Definition: output.h:70
OutputLoggerLog
TmEcode OutputLoggerLog(ThreadVars *, Packet *, void *)
Definition: output.c:879
OutputModule_::alproto
AppProto alproto
Definition: output.h:79
OutputDeregisterAll
void OutputDeregisterAll(void)
Deregister all modules. Useful for a memory clean exit.
Definition: output.c:801
OutputLoggerThreadStore_::thread_data
void * thread_data
Definition: output-stats.c:32
OutputCtx_
Definition: tm-modules.h:78
OutputModule_::stream_type
enum OutputStreamingType stream_type
Definition: output.h:80
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:710
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:350
OutputModule_::ThreadInit
ThreadInitFunc ThreadInit
Definition: output.h:66
output_modules
OutputModuleList output_modules
OutputInitSubFunc
OutputInitResult(* OutputInitSubFunc)(ConfNode *, OutputCtx *)
Definition: output.h:54
OutputDropLoggerDisable
void OutputDropLoggerDisable(void)
Definition: output.c:821
OutputModule_::FiledataLogFunc
FiledataLogger FiledataLogFunc
Definition: output.h:75
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:370
OutputInitResult_::ctx
OutputCtx * ctx
Definition: output.h:49
OutputModule_::ThreadDeinit
ThreadDeinitFunc ThreadDeinit
Definition: output.h:67
output-file.h
OutputRegisterModule
void OutputRegisterModule(const char *, const char *, OutputInitFunc)
ThreadVars_
Per thread variable structure.
Definition: threadvars.h:58
ThreadInitFunc
TmEcode(* ThreadInitFunc)(ThreadVars *, const void *, void **)
Definition: tm-modules.h:39
OutputInitResult_::ok
bool ok
Definition: output.h:50
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:628
OutputLoggerThreadStore
struct OutputLoggerThreadStore_ OutputLoggerThreadStore
OutputUnregisterFileRotationFlag
void OutputUnregisterFileRotationFlag(int *flag)
Unregister a file rotation flag.
Definition: output.c:855
OutputModule_::conf_name
const char * conf_name
Definition: output.h:61
OutputModule_::FlowLogFunc
FlowLogger FlowLogFunc
Definition: output.h:76
Packet_
Definition: decode.h:427
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:588
TmModuleLoggerRegister
void TmModuleLoggerRegister(void)
Definition: output.c:1020
OutputClearActiveLoggers
void OutputClearActiveLoggers(void)
Definition: output.c:1011
TmEcode
TmEcode
Definition: tm-threads-common.h:81
output-flow.h
OutputModule_::ThreadExitPrintStats
ThreadExitPrintStatsFunc ThreadExitPrintStats
Definition: output.h:68
OutputDropLoggerEnable
int OutputDropLoggerEnable(void)
Definition: output.c:813
OutputInitResult_
Definition: output.h:48
OutputModule_::TxLogCondition
TxLoggerCondition TxLogCondition
Definition: output.h:73
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:339
OutputLoggerThreadDeinit
TmEcode OutputLoggerThreadDeinit(ThreadVars *, void *)
Definition: output.c:925
OutputModule_::PacketConditionFunc
PacketLogCondition PacketConditionFunc
Definition: output.h:71
OutputGetActiveCountFunc
uint32_t(* OutputGetActiveCountFunc)(void)
Definition: output.h:56
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:833
OutputStreamingType
OutputStreamingType
Definition: output-streaming.h:38
OutputNotifyFileRotation
void OutputNotifyFileRotation(void)
Notifies all registered file rotation notification flags.
Definition: output.c:872
ConfNode_
Definition: conf.h:32
util-config.h
StatsLogger
int(* StatsLogger)(ThreadVars *, void *thread_data, const StatsTable *)
Definition: output-stats.h:47
OutputModule_::TxLogFunc
TxLogger TxLogFunc
Definition: output.h:72
OutputModule_::tc_log_progress
int tc_log_progress
Definition: output.h:81
OutputInitFunc
OutputInitResult(* OutputInitFunc)(ConfNode *)
Definition: output.h:53
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:669
output-stats.h
OutputLoggerExitPrintStats
void OutputLoggerExitPrintStats(ThreadVars *, void *)
Definition: output.c:951
OutputModule_
Definition: output.h:58
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:548
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:412
ThreadDeinitFunc
TmEcode(* ThreadDeinitFunc)(ThreadVars *, void *)
Definition: tm-modules.h:40
OutputModule_::InitFunc
OutputInitFunc InitFunc
Definition: output.h:63
OutputSetupActiveLoggers
void OutputSetupActiveLoggers(void)
Definition: output.c:998