Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

str_search.h File Reference

Go to the source code of this file.

Functions

int SearchInit (unsigned int num)
void SearchFree ()
void SearchAdd (unsigned int mpse_id, char *pat, int id)
void SearchPrepPatterns (unsigned int mpse_id)
int SearchFindString (unsigned int mpse_id, char *str, int str_len, int(*Match)(void *, int, void *))


Function Documentation

void SearchAdd unsigned int  mpse_id,
char *  pat,
int  id
 

Definition at line 67 of file str_search.c.

References tag_search::max_len, and mpseAddPattern().

Referenced by XLINK2STATE_Init().

int SearchFindString unsigned int  mpse_id,
char *  str,
int  str_len,
int(*)(void *, int, void *)  Match
 

Definition at line 55 of file str_search.c.

References tag_search::max_len, and mpseSearch().

Referenced by XLINK2STATE_ProcessPacket().

void SearchFree  ) 
 

Definition at line 38 of file str_search.c.

References _num_mpse, mpseFree(), and NULL.

int SearchInit unsigned int  num  ) 
 

Definition at line 20 of file str_search.c.

References _num_mpse, tag_search::max_len, tag_search::mpse, MPSE_AC, mpseNew(), and NULL.

Referenced by XLINK2STATE_Init().

void SearchPrepPatterns unsigned int  mpse_id  ) 
 

Definition at line 77 of file str_search.c.

References mpsePrepPatterns().

Referenced by XLINK2STATE_Init().


Generated on Sun May 14 14:51:26 2006 by  doxygen 1.4.2