diff --git a/src/detect-engine-mpm.h b/src/detect-engine-mpm.h index 3f88c16412..de687876a3 100644 --- a/src/detect-engine-mpm.h +++ b/src/detect-engine-mpm.h @@ -74,11 +74,6 @@ TmEcode DetectEngineThreadCtxDeinit(ThreadVars *, void *); void DbgPrintSearchStats(); -MpmPatternIdStore *MpmPatternIdTableInitHash(void); -void MpmPatternIdTableFreeHash(MpmPatternIdStore *); -uint32_t MpmPatternIdStoreGetMaxId(MpmPatternIdStore *); -uint32_t DetectContentGetId(MpmPatternIdStore *, DetectContentData *); - int SignatureHasPacketContent(const Signature *); int SignatureHasStreamContent(const Signature *); diff --git a/src/detect.h b/src/detect.h index beb4aca097..765a870aa2 100644 --- a/src/detect.h +++ b/src/detect.h @@ -515,15 +515,6 @@ typedef struct DetectEngineLookupFlow_ { */ #define FLOW_STATES 2 -/* mpm pattern id api */ -typedef struct MpmPatternIdStore_ { - HashTable *hash; - PatIntId max_id; - - uint32_t unique_patterns; - uint32_t shared_patterns; -} MpmPatternIdStore; - /** \brief threshold ctx */ typedef struct ThresholdCtx_ { SCMutex threshold_table_lock; /**< Mutex for hash table */ @@ -606,9 +597,6 @@ typedef struct DetectEngineCtx_ { /* specify the configuration for mpm context factory */ uint8_t sgh_mpm_context; - /** hash table for looking up patterns for - * id sharing and id tracking. */ - MpmPatternIdStore *mpm_pattern_id_store; uint32_t max_fp_id; MpmCtxFactoryContainer *mpm_ctx_factory_container;