mirror of https://github.com/OISF/suricata
Add tag keyword stub
parent
b2adf31595
commit
d5c732f1f9
@ -0,0 +1,20 @@
|
||||
/* TAG part of the detection engine. */
|
||||
|
||||
#include "suricata-common.h"
|
||||
#include "detect.h"
|
||||
|
||||
int DetectTagSetup (DetectEngineCtx *, Signature *s, SigMatch *m, char *str);
|
||||
|
||||
void DetectTagRegister (void) {
|
||||
sigmatch_table[DETECT_TAG].name = "tag";
|
||||
sigmatch_table[DETECT_TAG].Match = NULL;
|
||||
sigmatch_table[DETECT_TAG].Setup = DetectTagSetup;
|
||||
sigmatch_table[DETECT_TAG].Free = NULL;
|
||||
sigmatch_table[DETECT_TAG].RegisterTests = NULL;
|
||||
}
|
||||
|
||||
int DetectTagSetup (DetectEngineCtx *de_ctx, Signature *s, SigMatch *m, char *rawstr)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@ -0,0 +1,8 @@
|
||||
#ifndef __DETECT_TAG_H__
|
||||
#define __DETECT_TAG_H__
|
||||
|
||||
/* prototypes */
|
||||
void DetectTagRegister (void);
|
||||
|
||||
#endif /* __DETECT_TAG_H__ */
|
||||
|
Loading…
Reference in New Issue