detect-template2.c File Reference
Include dependency graph for detect-template2.c:

Go to the source code of this file.


#define PARSE_REGEX   "^\\s*([0-9]*)?\\s*([<>=-]+)?\\s*([0-9]+)?\\s*$"
 Regex for parsing our options. More...
#define MAX_SUBSTRINGS   30


void DetectTemplate2Free (void *ptr)
 this function will free memory associated with DetectTemplate2Data More...
void DetectTemplate2RegisterTests (void)
 this function registers unit tests for DetectTemplate2 More...
void DetectTemplate2Register (void)
 Registration function for template2: keyword. More...

Detailed Description


Definition in file detect-template2.c.

Macro Definition Documentation

#define MAX_SUBSTRINGS   30

Referenced by DetectTemplate2Register().

#define PARSE_REGEX   "^\\s*([0-9]*)?\\s*([<>=-]+)?\\s*([0-9]+)?\\s*$"

Regex for parsing our options.

Definition at line 36 of file detect-template2.c.

Referenced by DetectTemplate2Register().

Function Documentation

void DetectTemplate2Free ( void *  ptr)
void DetectTemplate2RegisterTests ( void  )

this function registers unit tests for DetectTemplate2

Definition at line 145 of file detect-template2.c.

References UtRegisterTest().

Referenced by DetectTemplate2Register().

Here is the call graph for this function:

Here is the caller graph for this function: