spp_template.h

来自「网络入侵检测系统的原代码,是对snort的进一步改进和完善」· C头文件 代码 · 共 29 行

H
29
字号
/* $Id: spp_template.h,v 1.2 2000/11/13 06:01:25 roesch Exp $ */
/* Snort Preprocessor Plugin Header File Template */

/* This file gets included in plugbase.h when it is integrated into the rest 
 * of the program.  Sometime in The Future, I'll whip up a bad ass Perl script
 * to handle automatically loading all the required info into the plugbase.*
 * files.
 */
#include "snort.h"

#ifndef __SPP_TEMPLATE_H__
#define __SPP_TEMPLATE_H__

typedef struct _TemplateData
{
    /* your data goes here! */
} TemplateData;

/* list of function prototypes for this preprocessor */
void SetupTemplate();
void TemplateInit(u_char *);
void ParseTemplateArgs(char *);
void PreprocFunction(Packet *);
void PreprocRestartFunction(int);
void PreprocCleanExitFunction(int);


#endif  /* __SPP_TEMPLATE_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?