suricata
|
Go to the source code of this file.
Data Structures | |
struct | GenericVar_ |
struct | XBit_ |
struct | ResolvedVariable_ |
Typedefs | |
typedef struct GenericVar_ | GenericVar |
typedef struct XBit_ | XBit |
typedef struct ResolvedVariable_ | ResolvedVariable |
Functions | |
void | XBitFree (XBit *) |
typedef | TAILQ_HEAD (, ResolvedVariable_) ResolvedVariablesList |
void | GenericVarFree (GenericVar *) |
void | GenericVarAppend (GenericVar **, GenericVar *) |
void | GenericVarRemove (GenericVar **, GenericVar *) |
int | AddVariableToResolveList (ResolvedVariablesList *list, const char *var) |
void | CleanVariableResolveList (ResolvedVariablesList *var_list) |
Definition in file util-var.h.
typedef struct GenericVar_ GenericVar |
typedef struct ResolvedVariable_ ResolvedVariable |
enum VarTypes |
variable types: these are used to track variable names
Definition at line 28 of file util-var.h.
int AddVariableToResolveList | ( | ResolvedVariablesList * | list, |
const char * | var | ||
) |
Definition at line 139 of file util-var.c.
void CleanVariableResolveList | ( | ResolvedVariablesList * | var_list | ) |
Definition at line 168 of file util-var.c.
References next, SCFree, TAILQ_FIRST, and TAILQ_REMOVE.
void GenericVarAppend | ( | GenericVar ** | , |
GenericVar * | |||
) |
Definition at line 98 of file util-var.c.
Referenced by FlowVarAddIdValue(), FlowVarAddIntNoLock(), and FlowVarAddKeyValue().
void GenericVarFree | ( | GenericVar * | ) |
Definition at line 48 of file util-var.c.
References DEBUG_VALIDATE_BUG_ON, DETECT_FLOWBITS, DETECT_FLOWVAR, DETECT_PKTVAR, DETECT_THRESHOLD, DETECT_XBITS, FlowBitFree(), FlowThresholdVarFree(), FlowVarFree(), GenericVarFree(), GenericVar_::next, PktVarFree(), SCLogDebug, GenericVar_::type, and XBitFree().
Referenced by GenericVarFree().
void GenericVarRemove | ( | GenericVar ** | , |
GenericVar * | |||
) |
Definition at line 117 of file util-var.c.
typedef TAILQ_HEAD | ( | ResolvedVariable_ | ) |
void XBitFree | ( | XBit * | ) |
Definition at line 40 of file util-var.c.
References SCFree.
Referenced by GenericVarFree().