int DetectContentDataParse(const char *keyword, const char *contentstr, uint8_t **pstr, uint16_t *plen)
Parse a content string, ie "abc|DE|fgh".
uint32_t DetectContentMaxId(DetectEngineCtx *)
DetectContentData * DetectContentParseEncloseQuotes(SpmGlobalThreadCtx *spm_global_thread_ctx, const char *contentstr)
void DetectContentPrint(DetectContentData *)
Helper function to print a DetectContentData.
struct DetectContentData_ DetectContentData
_Bool DetectContentPMATCHValidateCallback(const Signature *s)
DetectContentData * DetectContentParse(SpmGlobalThreadCtx *spm_global_thread_ctx, const char *contentstr)
DetectContentParse .
void DetectContentFree(void *)
this function will SCFree memory associated with DetectContentData
void DetectContentRegister(void)
void DetectContentPropagateLimits(Signature *s)
apply depth/offset and distance/within to content matches
int DetectContentSetup(DetectEngineCtx *de_ctx, Signature *s, const char *contentstr)
Function to setup a content pattern.