Go to the documentation of this file.
76 new_size = new_size * 2;
81 new_size = new_size / 2;
86 SCLogError(
"Failed to realloc PatternMatchQueue"
87 " rule ID array. Some signature ID matches lost");
void PmqReset(PrefilterRuleStore *pmq)
Reset a Pmq for reusage. Meant to be called after a single search.
uint32_t rule_id_array_cnt
structure for storing potential rule matches
int PrefilterAddSidsResize(PrefilterRuleStore *pmq, uint32_t new_size)
Add array of Signature IDs to rule ID array.
#define SCRealloc(ptr, sz)
void PmqCleanup(PrefilterRuleStore *pmq)
Cleanup a Pmq.
#define SCLogError(...)
Macro used to log ERROR messages.
void PmqFree(PrefilterRuleStore *pmq)
Cleanup and free a Pmq.
uint32_t rule_id_array_size
int PmqSetup(PrefilterRuleStore *pmq)
Setup a pmq.