00001 /* $Id: spp_template.h,v 1.4 2004/02/13 16:19:03 roesch Exp $ */ 00002 /* Snort Preprocessor Plugin Header File Template */ 00003 00004 /* This file gets included in plugbase.h when it is integrated into the rest 00005 * of the program. 00006 */ 00007 00008 #ifndef __SPP_STICKY_H__ 00009 #define __SPP_STICKY_H__ 00010 00011 00012 /* we only want SD in inline mode */ 00013 #ifdef GIDS 00014 00015 00016 /* 00017 * list of function prototypes to export for this preprocessor 00018 */ 00019 typedef struct _SDtimeout 00020 { 00021 int sfportscan; 00022 int portscan2; 00023 int clamav; 00024 } SDtimeout; 00025 00026 00027 void SetupStickyDrop(); 00028 void AddIpToBlockTree(Packet *, char, uint32_t); 00029 int SppStickydIsRunning(void); 00030 00031 #endif /* GIDS */ 00032 00033 #endif /* __SPP_STICKY_H__ */