void DetectContentRegister(void)
struct DetectContentData_ DetectContentData
bool DetectContentPMATCHValidateCallback(const Signature *s)
int DetectContentSetup(DetectEngineCtx *de_ctx, Signature *s, const char *contentstr)
Function to setup a content pattern.
int DetectContentDataParse(const char *keyword, const char *contentstr, uint8_t **pstr, uint16_t *plen)
Parse a content string, ie "abc|DE|fgh".
void DetectContentFree(DetectEngineCtx *, void *)
this function will SCFree memory associated with DetectContentData
void SigParseRequiredContentSize(const Signature *s, const int max, const SigMatch *sm, int *len, int *offset)
Determine the size needed to accommodate the content elements of a signature.
DetectContentData * DetectContentParseEncloseQuotes(SpmGlobalThreadCtx *spm_global_thread_ctx, const char *contentstr)
void DetectContentPrint(DetectContentData *)
Helper function to print a DetectContentData.
DetectContentData * DetectContentParse(SpmGlobalThreadCtx *spm_global_thread_ctx, const char *contentstr)
DetectContentParse \initonly.
void DetectContentPropagateLimits(Signature *s)
int DetectContentConvertToNocase(DetectEngineCtx *de_ctx, DetectContentData *cd)
void DetectContentPatternPrettyPrint(const DetectContentData *cd, char *str, size_t str_len)