detect: include keyword types in detect.h

pull/3451/head
Victor Julien 7 years ago
parent 38b698c50f
commit 085521b218

@ -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);

@ -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 */

Loading…
Cancel
Save