suricata
|
Go to the source code of this file.
Functions | |
SigString * | SigStringAlloc (void) |
Allocate SigString list member. More... | |
int | SigStringAppend (SigFileLoaderStat *sig_stats, const char *sig_file, const char *sig_str, const char *sig_error, int line) |
Append a new list member to SigString list. More... | |
Detection engine helper functions
Definition in file util-detect.c.
SigString* SigStringAlloc | ( | void | ) |
Allocate SigString list member.
Pointer | to SigString |
Definition at line 36 of file util-detect.c.
References SigString_::line, SCCalloc, and unlikely.
Referenced by SigStringAppend().
int SigStringAppend | ( | SigFileLoaderStat * | sig_stats, |
const char * | sig_file, | ||
const char * | sig_str, | ||
const char * | sig_error, | ||
int | line | ||
) |
Append a new list member to SigString list.
list | pointer to the start of the SigString list |
sig_file | filename that contains the signature |
sig_str | signature in string format |
line | line line number |
1 | on success 0 on failure |
Definition at line 104 of file util-detect.c.
References SigStringAlloc().