00001 00002 /* 00003 * Copyright (C) 2005 Sourcefire,Inc. 00004 */ 00005 #ifndef __SMTP_SEARCH_H__ 00006 #define __SMTP_SEARCH_H__ 00007 00008 /* Function prototypes */ 00009 int SearchInit(unsigned int num); 00010 void SearchFree(); 00011 void SearchAdd(unsigned int mpse_id, char *pat, int id); 00012 void SearchPrepPatterns(unsigned int mpse_id); 00013 int SearchFindString(unsigned int mpse_id, char *str, int str_len, int (*Match) (void *, int, void *)); 00014 00015 00016 #endif /* __SMTP_SEARCH_H__ */ 00017