24#ifndef SURICATA_UTIL_PREFILTER_H
25#define SURICATA_UTIL_PREFILTER_H
46#define PMQ_RESET(pmq) (pmq)->rule_id_array_cnt = 0
61static inline void PrefilterAddSids(
structure for storing potential rule matches
uint32_t rule_id_array_size
uint32_t rule_id_array_cnt
int PrefilterAddSidsResize(PrefilterRuleStore *pmq, uint32_t new_size)
Add array of Signature IDs to rule ID array.
void PmqCleanup(PrefilterRuleStore *)
Cleanup a Pmq.
void PmqFree(PrefilterRuleStore *)
Cleanup and free a Pmq.
int PmqSetup(PrefilterRuleStore *)
Setup a pmq.
void PmqReset(PrefilterRuleStore *)
Reset a Pmq for reusage. Meant to be called after a single search.
struct PrefilterRuleStore_ PrefilterRuleStore
structure for storing potential rule matches