suricata
|
#include "detect.h"
Go to the source code of this file.
Enumerations | |
enum | SCRuleVarsType { SC_RULE_VARS_ADDRESS_GROUPS, SC_RULE_VARS_PORT_GROUPS } |
Functions | |
const char * | SCRuleVarsGetConfVar (const DetectEngineCtx *, const char *, SCRuleVarsType) |
void | SCRuleVarsRegisterTests (void) |
Definition in file util-rule-vars.h.
enum SCRuleVarsType |
Enum indicating the various vars type in the yaml conf file
Enumerator | |
---|---|
SC_RULE_VARS_ADDRESS_GROUPS | |
SC_RULE_VARS_PORT_GROUPS |
Definition at line 30 of file util-rule-vars.h.
const char* SCRuleVarsGetConfVar | ( | const DetectEngineCtx * | , |
const char * | , | ||
SCRuleVarsType | |||
) |
Definition at line 65 of file util-rule-vars.c.
References ConfGet(), DetectEngineCtx_::config_prefix, de_ctx, sc_rule_vars_type_map, SCEnter, SCLogDebug, SCLogError, SCMapEnumValueToName(), and SCReturnCharPtr.
void SCRuleVarsRegisterTests | ( | void | ) |
Definition at line 400 of file util-rule-vars.c.
References UtRegisterTest().