sp_template.h
来自「网络入侵检测系统的原代码,是对snort的进一步改进和完善」· C头文件 代码 · 共 29 行
H
29 行
/* $Id: sp_template.h,v 1.1.1.1 2000/08/07 02:42:59 roesch Exp $ */
/* Snort Detection 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.
*/
#ifndef __SP_TEMPLATE_H__
#define __SP_TEMPLATE_H__
#include "snort.h"
#define PLUGIN_TEMPLATE_NUMBER 0
typedef struct _TemplateData
{
/* your data structure info goes here */
} TemplateData;
void TemplateInit(char *, OptTreeNode *, int);
void SetupTemplate();
void TemplateRuleParseFunction(char *, OptTreeNode *);
int TemplateDetectorFunction(Packet *, struct _OptTreeNode *, OptFpList *);
#endif /* __SP_TEMPLATE_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?