speech-dispatcher: Initialization Macros and Functions
5.2.7.1 Initialization Macros and Functions
...........................................
-- Module Utils macro: INIT_SETTINGS_TABLES ()
This macro initializes the settings tables where the parameters
received with the 'SET' command are stored. You must call this
macro if you want to use the 'UPDATE_PARAMETER()' and
'UPDATE_STRING_PARAMETER()' macros.
It is intended to be called from inside a function just after the
output module starts.
5.2.7.2 Debugging Macros
........................
-- Module Utils macro: DBG (format, ...)
DBG() outputs a debugging message, if the 'Debug' option in
module's configuration is set, to the file specified in
configuration ad 'DebugFile'. The parameter syntax is the same as
for the printf() function. In fact, it calls printf() internally.
-- Module Utils macro: FATAL (text)
Outputs a message specified as 'text' and calls exit() with the
value EXIT_FAILURE. This terminates the whole output module without
trying to kill the child processes or freeing other resources other
than those that will be freed by the system.
It is intended to be used after some severe error has occurred.