From: Victor Julien Date: Thu, 9 Aug 2018 22:05:50 +0000 (+0200) Subject: detect: include keyword types in detect.h X-Git-Tag: suricata-4.1.0-rc2~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=085521b2184b98ce7bc9ae417913b24eafa04aaa;p=thirdparty%2Fsuricata.git detect: include keyword types in detect.h --- diff --git a/src/detect-engine-register.h b/src/detect-engine-register.h index 79c8b9ac0b..ee8d2db9f7 100644 --- a/src/detect-engine-register.h +++ b/src/detect-engine-register.h @@ -219,9 +219,6 @@ enum { DETECT_TBLSIZE, }; -/* Table with all SigMatch registrations */ -SigTableElmt sigmatch_table[DETECT_TBLSIZE]; - void SigTableList(const char *keyword); void SigTableSetup(void); void SigTableRegisterTests(void); diff --git a/src/detect.h b/src/detect.h index a08d26d4c2..ada0d15326 100644 --- a/src/detect.h +++ b/src/detect.h @@ -31,6 +31,7 @@ #include "detect-engine-proto.h" #include "detect-reference.h" #include "detect-metadata.h" +#include "detect-engine-register.h" #include "packet-queue.h" #include "util-prefilter.h" @@ -1372,6 +1373,9 @@ typedef struct DetectEngineMasterCtx_ { int keyword_id; } DetectEngineMasterCtx; +/* Table with all SigMatch registrations */ +SigTableElmt sigmatch_table[DETECT_TBLSIZE]; + /** Remember to add the options in SignatureIsIPOnly() at detect.c otherwise it wont be part of a signature group */ /* detection api */