datasets: restrict scope of macro/enum

pull/11823/head
Philippe Antoine 7 months ago committed by Victor Julien
parent 1d32f11745
commit 1352ed68c7

@ -41,6 +41,11 @@
#include "util-path.h"
#include "util-conf.h"
#define DETECT_DATASET_CMD_SET 0
#define DETECT_DATASET_CMD_UNSET 1
#define DETECT_DATASET_CMD_ISNOTSET 2
#define DETECT_DATASET_CMD_ISSET 3
int DetectDatasetMatch (ThreadVars *, DetectEngineThreadCtx *, Packet *,
const Signature *, const SigMatchCtx *);
static int DetectDatasetSetup (DetectEngineCtx *, Signature *, const char *);

@ -26,11 +26,6 @@
#include "datasets.h"
#define DETECT_DATASET_CMD_SET 0
#define DETECT_DATASET_CMD_UNSET 1
#define DETECT_DATASET_CMD_ISNOTSET 2
#define DETECT_DATASET_CMD_ISSET 3
typedef struct DetectDatasetData_ {
Dataset *set;
uint8_t cmd;

Loading…
Cancel
Save