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");
structure for storing potential rule matches
uint32_t rule_id_array_size
uint32_t rule_id_array_cnt
#define SCLogError(...)
Macro used to log ERROR messages.
#define SCRealloc(ptr, sz)
int PrefilterAddSidsResize(PrefilterRuleStore *pmq, uint32_t new_size)
Add array of Signature IDs to rule ID array.
int PmqSetup(PrefilterRuleStore *pmq)
Setup a pmq.
void PmqReset(PrefilterRuleStore *pmq)
Reset a Pmq for reusage. Meant to be called after a single search.
void PmqCleanup(PrefilterRuleStore *pmq)
Cleanup a Pmq.
void PmqFree(PrefilterRuleStore *pmq)
Cleanup and free a Pmq.