Put the precooked runmodes in a separate file.

remotes/origin/master-1.0.x
Victor Julien 16 years ago
parent e95e5cb36a
commit cfb605aa8a

@ -1,5 +1,6 @@
bin_PROGRAMS = eidps
eidps_SOURCES = eidps.c eidps.h \
runmodes.c runmodes.h \
packet-queue.c packet-queue.h \
threads.c threads.h \
source-nfq.c source-nfq.h \

@ -1,6 +1,8 @@
#ifndef __DETECT_ENGINE_H__
#define __DETECT_ENGINE_H__
#include "detect.h"
/* prototypes */
DetectEngineCtx *DetectEngineCtxInit(void);
void DetectEngineCtxFree(DetectEngineCtx *);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,14 @@
#ifndef __RUNMODES_H__
#define __RUNMODES_H__
int RunModeIdsPcap(DetectEngineCtx *, char *);
int RunModeIdsPcap2(DetectEngineCtx *, char *);
int RunModeIdsPcap3(DetectEngineCtx *, char *);
int RunModeIpsNFQ(DetectEngineCtx *);
int RunModeFilePcap(DetectEngineCtx *, char *);
int RunModeFilePcap2(DetectEngineCtx *, char *);
#endif /* __RUNMODES_H__ */

@ -1,6 +1,8 @@
#ifndef __TM_THREADS_H__
#define __TM_THREADS_H__
#include "tm-modules.h"
/* ThreadVars type */
enum {
TVT_PPT,

Loading…
Cancel
Save