suricata
conf.h File Reference
#include "queue.h"
Include dependency graph for conf.h:

Go to the source code of this file.

Data Structures

struct  SCConfNode_
 

Macros

#define DEFAULT_LOG_DIR   "/var/log/suricata"
 
#define DEFAULT_DATA_DIR   DATA_DIR
 

Typedefs

typedef struct SCConfNode_ SCConfNode
 

Functions

void SCConfInit (void)
 Initialize the configuration system. More...
 
void SCConfDeInit (void)
 De-initializes the configuration system. More...
 
SCConfNodeSCConfGetRootNode (void)
 Get the root configuration node. More...
 
int SCConfGet (const char *name, const char **vptr)
 Retrieve the value of a configuration node. More...
 
int SCConfGetInt (const char *name, intmax_t *val)
 Retrieve a configuration value as an integer. More...
 
int SCConfGetBool (const char *name, int *val)
 Retrieve a configuration value as a boolean. More...
 
int SCConfGetDouble (const char *name, double *val)
 Retrieve a configuration value as a double. More...
 
int SCConfGetFloat (const char *name, float *val)
 Retrieve a configuration value as a float. More...
 
int SCConfSet (const char *name, const char *val)
 Set a configuration value. More...
 
int SCConfSetFromString (const char *input, int final)
 Set a configuration parameter from a string. More...
 
int SCConfSetFinal (const char *name, const char *val)
 Set a final configuration value. More...
 
void SCConfDump (void)
 Dump configuration to stdout. More...
 
void SCConfNodeDump (const SCConfNode *node, const char *prefix)
 Dump a configuration node and all its children. More...
 
SCConfNodeSCConfNodeNew (void)
 Allocate a new configuration node. More...
 
void SCConfNodeFree (SCConfNode *)
 Free a SCConfNode and all of its children. More...
 
SCConfNodeSCConfGetNode (const char *key)
 Get a SCConfNode by name. More...
 
void SCConfCreateContextBackup (void)
 Creates a backup of the conf_hash hash_table used by the conf API. More...
 
void SCConfRestoreContextBackup (void)
 Restores the backup of the hash_table present in backup_conf_hash back to conf_hash. More...
 
SCConfNodeSCConfNodeLookupChild (const SCConfNode *node, const char *key)
 Lookup a child configuration node by name. More...
 
const char * SCConfNodeLookupChildValue (const SCConfNode *node, const char *key)
 Lookup the value of a child configuration node by name. More...
 
void SCConfNodeRemove (SCConfNode *)
 Remove (and SCFree) the provided configuration node. More...
 
void SCConfRegisterTests (void)
 
int SCConfNodeChildValueIsTrue (const SCConfNode *node, const char *key)
 Test if a configuration node has a true value. More...
 
int SCConfValIsTrue (const char *val)
 Check if a value is true. More...
 
int SCConfValIsFalse (const char *val)
 Check if a value is false. More...
 
void SCConfNodePrune (SCConfNode *node)
 Create the path for an include entry. More...
 
int SCConfRemove (const char *name)
 Remove a configuration parameter from the configuration db. More...
 
bool SCConfNodeHasChildren (const SCConfNode *node)
 Check if a node has any children. More...
 
SCConfNodeSCConfGetChildWithDefault (const SCConfNode *base, const SCConfNode *dflt, const char *name)
 
SCConfNodeSCConfNodeLookupKeyValue (const SCConfNode *base, const char *key, const char *value)
 Lookup for a key value under a specific node. More...
 
int SCConfGetChildValue (const SCConfNode *base, const char *name, const char **vptr)
 
int SCConfGetChildValueInt (const SCConfNode *base, const char *name, intmax_t *val)
 
int SCConfGetChildValueBool (const SCConfNode *base, const char *name, int *val)
 
int SCConfGetChildValueWithDefault (const SCConfNode *base, const SCConfNode *dflt, const char *name, const char **vptr)
 
int SCConfGetChildValueIntWithDefault (const SCConfNode *base, const SCConfNode *dflt, const char *name, intmax_t *val)
 
int SCConfGetChildValueBoolWithDefault (const SCConfNode *base, const SCConfNode *dflt, const char *name, int *val)
 
int SCConfNodeIsSequence (const SCConfNode *node)
 Check if a node is a sequence or node. More...
 
SCConfNodeSCConfSetIfaceNode (const char *ifaces_node_name, const char *iface)
 Finds an interface from the list of interfaces. More...
 
int SCConfSetRootAndDefaultNodes (const char *ifaces_node_name, const char *iface, SCConfNode **if_root, SCConfNode **if_default)
 Finds and sets root and default node of the interface. More...
 
SCConfNodeSCConfNodeGetNodeOrCreate (SCConfNode *parent, const char *name, int final)
 Helper function to get a node, creating it if it does not exist. More...
 
SCConfNodeSCConfGetFirstNode (const SCConfNode *parent)
 
SCConfNodeSCConfGetNextNode (const SCConfNode *node)
 
const char * SCConfGetValueNode (const SCConfNode *node)
 

Detailed Description

Author
Endace Technology Limited - Jason Ish jason.nosp@m..ish.nosp@m.@enda.nosp@m.ce.c.nosp@m.om

Definition in file conf.h.

Macro Definition Documentation

◆ DEFAULT_DATA_DIR

#define DEFAULT_DATA_DIR   DATA_DIR

Definition at line 55 of file conf.h.

◆ DEFAULT_LOG_DIR

#define DEFAULT_LOG_DIR   "/var/log/suricata"

The default log directory.

Definition at line 54 of file conf.h.

Typedef Documentation

◆ SCConfNode

typedef struct SCConfNode_ SCConfNode

Structure of a configuration parameter.

Function Documentation

◆ SCConfCreateContextBackup()

void SCConfCreateContextBackup ( void  )

Creates a backup of the conf_hash hash_table used by the conf API.

Definition at line 684 of file conf.c.

◆ SCConfDeInit()

void SCConfDeInit ( void  )

De-initializes the configuration system.

Definition at line 703 of file conf.c.

Referenced by GlobalsDestroy().

Here is the caller graph for this function:

◆ SCConfDump()

void SCConfDump ( void  )

Dump configuration to stdout.

Definition at line 761 of file conf.c.

References SCConfNodeDump().

Referenced by SuricataInit().

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

◆ SCConfGet()

int SCConfGet ( const char *  name,
const char **  vptr 
)

Retrieve the value of a configuration node.

This function will return the value for a configuration node based on the full name of the node. It is possible that the value returned could be NULL, this could happen if the requested node does exist but is not a node that contains a value, but contains children SCConfNodes instead.

Parameters
nameName of configuration parameter to get.
vptrPointer that will be set to the configuration value parameter. Note that this is just a reference to the actual value, not a copy.
Return values
1will be returned if the name is found, otherwise 0 will be returned.

Definition at line 350 of file conf.c.

References name, SCConfGetNode(), SCLogDebug, and SCConfNode_::val.

Referenced by ConfigGetDataDirectory(), ConfSetBPFFilter(), ConfUnixSocketIsEnable(), CoredumpLoadConfig(), DetectEngineMpmCachingEnabled(), DetectEngineMpmCachingGetPath(), FlowInitConfig(), HTPParseMemcap(), HttpRangeContainersInit(), NFQInitConfig(), OutputJsonInitCtx(), PatternMatchDefaultMatcher(), PcapFileGlobalInit(), PostConfLoadedSetup(), RunModeErfFileAutoFp(), RunModeErfFileSingle(), RunModeFilePcapAutoFp(), RunModeFilePcapSingle(), RunModeIdsAFPAutoFp(), RunModeIdsAFPSingle(), RunModeIdsAFPWorkers(), RunModeIdsAFXDPSingle(), RunModeIdsAFXDPWorkers(), RunModeIdsPcapAutoFp(), RunModeIdsPcapSingle(), RunModeIdsPcapWorkers(), RunModeInitializeThreadSettings(), SCConfGetBool(), SCConfGetDouble(), SCConfGetFloat(), SCConfGetInt(), SCConfigGetLogDirectory(), SCLogLoadConfig(), SCRuleVarsGetConfVar(), SinglePatternMatchDefaultMatcher(), StreamTcpInitConfig(), and TmqhFlowRegister().

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

◆ SCConfGetBool()

int SCConfGetBool ( const char *  name,
int *  val 
)

Retrieve a configuration value as a boolean.

Parameters
nameName of configuration parameter to get.
valPointer to an int that will be set to 1 for true, or 0 for false.
Return values
1will be returned if the name is found and was properly converted to a boolean, otherwise 0 will be returned.

Definition at line 497 of file conf.c.

References name, SCConfGet(), and SCConfValIsTrue().

Referenced by DecodeERSPANConfig(), DecodeGeneveConfig(), DecodeTeredoConfig(), DecodeVXLANConfig(), DetectEngineFrameMpmRegister(), DetectEngineMpmCachingEnabled(), NFQInitConfig(), PostConfLoadedSetup(), RunModeInitializeThreadSettings(), SigPrepareStage4(), StreamTcpInitConfig(), SuricataInit(), and SuricataPostInit().

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

◆ SCConfGetChildValue()

int SCConfGetChildValue ( const SCConfNode base,
const char *  name,
const char **  vptr 
)

Definition at line 363 of file conf.c.

◆ SCConfGetChildValueBool()

int SCConfGetChildValueBool ( const SCConfNode base,
const char *  name,
int *  val 
)

Get a boolean value from the provided SCConfNode.

Return values
1If the value exists, 0 if not.

Definition at line 515 of file conf.c.

◆ SCConfGetChildValueBoolWithDefault()

int SCConfGetChildValueBoolWithDefault ( const SCConfNode base,
const SCConfNode dflt,
const char *  name,
int *  val 
)

Definition at line 528 of file conf.c.

◆ SCConfGetChildValueInt()

int SCConfGetChildValueInt ( const SCConfNode base,
const char *  name,
intmax_t *  val 
)

Definition at line 449 of file conf.c.

◆ SCConfGetChildValueIntWithDefault()

int SCConfGetChildValueIntWithDefault ( const SCConfNode base,
const SCConfNode dflt,
const char *  name,
intmax_t *  val 
)

Definition at line 476 of file conf.c.

◆ SCConfGetChildValueWithDefault()

int SCConfGetChildValueWithDefault ( const SCConfNode base,
const SCConfNode dflt,
const char *  name,
const char **  vptr 
)

Definition at line 393 of file conf.c.

Referenced by ConfSetBPFFilter().

Here is the caller graph for this function:

◆ SCConfGetChildWithDefault()

SCConfNode* SCConfGetChildWithDefault ( const SCConfNode base,
const SCConfNode dflt,
const char *  name 
)

Definition at line 379 of file conf.c.

◆ SCConfGetDouble()

int SCConfGetDouble ( const char *  name,
double *  val 
)

Retrieve a configuration value as a double.

Parameters
nameName of configuration parameter to get.
valPointer to an double that will be set the configuration value.
Return values
1will be returned if the name is found and was properly converted to a double, otherwise 0 will be returned.

Definition at line 600 of file conf.c.

References name, and SCConfGet().

Here is the call graph for this function:

◆ SCConfGetFirstNode()

SCConfNode* SCConfGetFirstNode ( const SCConfNode parent)

Definition at line 204 of file conf.c.

References TAILQ_FIRST.

◆ SCConfGetFloat()

int SCConfGetFloat ( const char *  name,
float *  val 
)

Retrieve a configuration value as a float.

Parameters
nameName of configuration parameter to get.
valPointer to an float that will be set the configuration value.
Return values
1will be returned if the name is found and was properly converted to a double, otherwise 0 will be returned.

Definition at line 630 of file conf.c.

References name, and SCConfGet().

Referenced by RunModeInitializeThreadSettings().

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

◆ SCConfGetInt()

int SCConfGetInt ( const char *  name,
intmax_t *  val 
)

Retrieve a configuration value as an integer.

Parameters
nameName of configuration parameter to get.
valPointer to an intmax_t that will be set the configuration value.
Return values
1will be returned if the name is found and was properly converted to an integer, otherwise 0 will be returned.

Definition at line 414 of file conf.c.

References name, SCConfGet(), and SCLogError.

Referenced by DecodeGlobalConfig(), DefragInit(), DetectLoadersInit(), FlowInitConfig(), FlowManagerThreadSpawn(), FlowRecyclerThreadSpawn(), NFQInitConfig(), PacketAlertGetMaxConfig(), SCProfilingInit(), and StreamTcpInitConfig().

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

◆ SCConfGetNextNode()

SCConfNode* SCConfGetNextNode ( const SCConfNode node)

Definition at line 209 of file conf.c.

References next, and TAILQ_NEXT.

◆ SCConfGetNode()

◆ SCConfGetRootNode()

SCConfNode* SCConfGetRootNode ( void  )

Get the root configuration node.

Definition at line 222 of file conf.c.

Referenced by SCLoadYamlConfig().

Here is the caller graph for this function:

◆ SCConfGetValueNode()

const char* SCConfGetValueNode ( const SCConfNode node)

Definition at line 214 of file conf.c.

References SCConfNode_::val.

◆ SCConfInit()

void SCConfInit ( void  )

Initialize the configuration system.

Definition at line 120 of file conf.c.

Referenced by InitGlobal().

Here is the caller graph for this function:

◆ SCConfNodeChildValueIsTrue()

int SCConfNodeChildValueIsTrue ( const SCConfNode node,
const char *  key 
)

Test if a configuration node has a true value.

Parameters
nodeThe parent configuration node.
nameThe name of the child node to test.
Return values
1if the child node has a true value, otherwise 0 is returned, even if the child node does not exist.

Definition at line 868 of file conf.c.

References SCConfNodeLookupChildValue(), and SCConfValIsTrue().

Referenced by HttpXFFGetCfg(), PcapLogProfileSetup(), PostConfLoadedSetup(), SCProfilingKeywordsGlobalInit(), SCProfilingPrefilterGlobalInit(), and SCProfilingSghsGlobalInit().

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

◆ SCConfNodeDump()

void SCConfNodeDump ( const SCConfNode node,
const char *  prefix 
)

Dump a configuration node and all its children.

Definition at line 731 of file conf.c.

References SCConfNode_::name, name, next, SCStrdup, TAILQ_FOREACH, and unlikely.

Referenced by SCConfDump().

Here is the caller graph for this function:

◆ SCConfNodeFree()

void SCConfNodeFree ( SCConfNode node)

Free a SCConfNode and all of its children.

Parameters
nodeThe configuration node to SCFree.

Definition at line 157 of file conf.c.

References SCConfNode_::name, next, SCConfNodeFree(), SCFree, TAILQ_FIRST, TAILQ_REMOVE, and SCConfNode_::val.

Referenced by SCConfNodeFree(), SCConfNodeGetNodeOrCreate(), and SCConfNodeRemove().

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

◆ SCConfNodeGetNodeOrCreate()

SCConfNode* SCConfNodeGetNodeOrCreate ( SCConfNode parent,
const char *  name,
int  final 
)

Helper function to get a node, creating it if it does not exist.

This function exits on memory failure as creating configuration nodes is usually part of application initialization.

Parameters
parentThe node to use as the parent
nameThe name of the configuration node to get.
finalFlag to set created nodes as final or not.
Return values
Theexisting configuration node if it exists, or a newly created node for the provided name. On error, NULL will be returned.

Definition at line 66 of file conf.c.

References SCConfNode_::final, SCConfNode_::name, name, next, NODE_NAME_MAX, SCConfNode_::parent, SCConfNodeFree(), SCConfNodeLookupChild(), SCConfNodeNew(), SCLogError, SCLogWarning, SCStrdup, strlcpy(), TAILQ_INSERT_TAIL, and unlikely.

Here is the call graph for this function:

◆ SCConfNodeHasChildren()

bool SCConfNodeHasChildren ( const SCConfNode node)

Check if a node has any children.

Checks if the provided node has any children. Any node that is a YAML map or array will have children.

Parameters
nodeThe node to check.
Return values
trueif node has children
falseif node does not have children

Definition at line 777 of file conf.c.

References TAILQ_EMPTY.

◆ SCConfNodeIsSequence()

int SCConfNodeIsSequence ( const SCConfNode node)

Check if a node is a sequence or node.

Parameters
nodethe node to check.
Returns
1 if node is a sequence, otherwise 0.

Definition at line 925 of file conf.c.

References SCConfNode_::is_seq.

◆ SCConfNodeLookupChild()

SCConfNode* SCConfNodeLookupChild ( const SCConfNode node,
const char *  name 
)

Lookup a child configuration node by name.

Given a SCConfNode this function will lookup an immediate child SCConfNode by name and return the child ConfNode.

Parameters
nodeThe parent configuration node.
nameThe name of the child node to lookup.
Return values
Apointer the child SCConfNode if found otherwise NULL.

Definition at line 796 of file conf.c.

References SCConfNode_::name, name, next, and TAILQ_FOREACH.

Referenced by AppLayerProtoDetectPPParseConfPorts(), FileForceHashParseCfg(), FlowInitFlowProto(), HttpXFFGetCfg(), OutputEmailInitConf(), RunModeInitializeOutputs(), SCConfLogOpenGeneric(), SCConfNodeGetNodeOrCreate(), and SCConfNodeLookupChildValue().

Here is the caller graph for this function:

◆ SCConfNodeLookupChildValue()

const char* SCConfNodeLookupChildValue ( const SCConfNode node,
const char *  name 
)

Lookup the value of a child configuration node by name.

Given a parent SCConfNode this function will return the value of a child configuration node by name returning a reference to that value.

Parameters
nodeThe parent configuration node.
nameThe name of the child node to lookup.
Return values
Apointer the child SCConfNodes value if found otherwise NULL.

Definition at line 824 of file conf.c.

References name, SCConfNodeLookupChild(), and SCConfNode_::val.

Referenced by FileForceHashParseCfg(), FlowInitFlowProto(), HttpXFFGetCfg(), LogHttpLogInitCtx(), LogTcpDataLogInitCtx(), OutputEmailInitConf(), OutputJsonInitCtx(), RunModeInitializeOutputs(), SCConfLogOpenGeneric(), SCConfNodeChildValueIsTrue(), SCProfilingKeywordsGlobalInit(), SCProfilingPrefilterGlobalInit(), and SCProfilingSghsGlobalInit().

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

◆ SCConfNodeLookupKeyValue()

SCConfNode* SCConfNodeLookupKeyValue ( const SCConfNode base,
const char *  key,
const char *  value 
)

Lookup for a key value under a specific node.

Returns
the SCConfNode matching or NULL

Definition at line 841 of file conf.c.

◆ SCConfNodeNew()

SCConfNode* SCConfNodeNew ( void  )

Allocate a new configuration node.

Return values
Anallocated configuration node on success, NULL on failure.

Definition at line 139 of file conf.c.

References SCCalloc, TAILQ_INIT, and unlikely.

Referenced by SCConfNodeGetNodeOrCreate().

Here is the caller graph for this function:

◆ SCConfNodePrune()

void SCConfNodePrune ( SCConfNode node)

Create the path for an include entry.

Parameters
fileThe name of the file
Return values
strPointer to the string path + sig_file

Prune a configuration node.

Pruning a configuration is similar to freeing, but only fields that may be overridden are, leaving final type parameters. Additional the value of the provided node is also free'd, but the node itself is left.

Parameters
nodeThe configuration node to prune.

Definition at line 893 of file conf.c.

References SCConfNode_::final, SCConfNode_::name, next, SCConfNodePrune(), SCFree, TAILQ_EMPTY, TAILQ_FIRST, TAILQ_NEXT, TAILQ_REMOVE, and SCConfNode_::val.

Referenced by SCConfNodePrune().

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

◆ SCConfNodeRemove()

void SCConfNodeRemove ( SCConfNode )

Remove (and SCFree) the provided configuration node.

Definition at line 653 of file conf.c.

References next, SCConfNode_::parent, SCConfNodeFree(), and TAILQ_REMOVE.

Referenced by SCConfRemove().

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

◆ SCConfRegisterTests()

void SCConfRegisterTests ( void  )

Definition at line 1471 of file conf.c.

References UtRegisterTest().

Here is the call graph for this function:

◆ SCConfRemove()

int SCConfRemove ( const char *  name)

Remove a configuration parameter from the configuration db.

Parameters
nameThe name of the configuration parameter to remove.
Return values
Returns1 if the parameter was removed, otherwise 0 is returned most likely indicating the parameter was not set.

Definition at line 668 of file conf.c.

References name, SCConfGetNode(), and SCConfNodeRemove().

Here is the call graph for this function:

◆ SCConfRestoreContextBackup()

void SCConfRestoreContextBackup ( void  )

Restores the backup of the hash_table present in backup_conf_hash back to conf_hash.

Definition at line 694 of file conf.c.

◆ SCConfSet()

int SCConfSet ( const char *  name,
const char *  val 
)

Set a configuration value.

Configuration values set with this function may be overridden by subsequent calls, or if the value appears multiple times in a configuration file.

Parameters
nameThe name of the configuration parameter to set.
valThe value of the configuration parameter.
Return values
1if the value was set otherwise 0.

Definition at line 239 of file conf.c.

Referenced by PostConfLoadedSetup(), and SCConfSetFromString().

Here is the caller graph for this function:

◆ SCConfSetFinal()

int SCConfSetFinal ( const char *  name,
const char *  val 
)

Set a final configuration value.

A final configuration value is a value that cannot be overridden by the configuration file. Its mainly useful for setting values that are supplied on the command line prior to the configuration file being loaded. However, a subsequent call to this function can override a previously set value.

Parameters
nameThe name of the configuration parameter to set.
valThe value of the configuration parameter.
Return values
1if the value was set otherwise 0.

Definition at line 318 of file conf.c.

Referenced by ConfigSetDataDirectory(), ConfigSetLogDirectory(), SCConfSetFromString(), and SCParseCommandLine().

Here is the caller graph for this function:

◆ SCConfSetFromString()

int SCConfSetFromString ( const char *  input,
int  final 
)

Set a configuration parameter from a string.

Where the input string is something like: stream.midstream=true

Parameters
inputthe input string to be parsed.
Return values
1if the value of set, otherwise 0.

Definition at line 264 of file conf.c.

References name, SCConfSet(), SCConfSetFinal(), SCFree, SCStrdup, and unlikely.

Referenced by main().

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

◆ SCConfSetIfaceNode()

SCConfNode* SCConfSetIfaceNode ( const char *  ifaces_node_name,
const char *  iface 
)

Finds an interface from the list of interfaces.

Parameters
ifaces_node_name- name of the node which holds a list of interfaces
iface- interfaces name
Returns
NULL on failure otherwise a valid pointer

Definition at line 936 of file conf.c.

References ConfFindDeviceConfig(), SCConfGetNode(), SCLogError, and SCLogNotice.

Referenced by SCConfSetRootAndDefaultNodes().

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

◆ SCConfSetRootAndDefaultNodes()

int SCConfSetRootAndDefaultNodes ( const char *  ifaces_node_name,
const char *  iface,
SCConfNode **  if_root,
SCConfNode **  if_default 
)

Finds and sets root and default node of the interface.

Parameters
ifaces_node_nameNode which holds list of interfaces
ifaceName of the interface e.g. eth3
if_rootNode which will hold the interface configuration
if_defaultNode which is the default configuration in the given list of interfaces
Returns
0 on success, -ENODEV when neither the root interface nor the default interface was found

Definition at line 962 of file conf.c.

References SCConfSetIfaceNode(), and SCLogError.

Here is the call graph for this function:

◆ SCConfValIsFalse()

int SCConfValIsFalse ( const char *  val)

Check if a value is false.

The value is considered false if it is a string with the value of 0, no, false or off. The test is not case sensitive, any other value is not false.

Parameters
valThe string to test for a false value.
Return values
1If the value is false, 0 if not.

Definition at line 576 of file conf.c.

Referenced by AppLayerParserConfParserEnabled(), AppLayerProtoDetectConfProtoDetectionEnabledDefault(), and SCConfLogOpenGeneric().

Here is the caller graph for this function:

◆ SCConfValIsTrue()

int SCConfValIsTrue ( const char *  val)

Check if a value is true.

The value is considered true if it is a string with the value of 1, yes, true or on. The test is not case sensitive, any other value is false.

Parameters
valThe string to test for a true value.
Return values
1If the value is true, 0 if not.

Definition at line 551 of file conf.c.

Referenced by AppLayerParserConfParserEnabled(), AppLayerProtoDetectConfProtoDetectionEnabledDefault(), ConfUnixSocketIsEnable(), FileForceHashParseCfg(), LogHttpLogInitCtx(), OutputEmailInitConf(), RunModeInitializeOutputs(), SCConfGetBool(), and SCConfNodeChildValueIsTrue().

Here is the caller graph for this function: