#include <stdlib.h>
#include "str_search.h"
#include "mpse.h"
Go to the source code of this file.
Typedefs | |
typedef tag_search | t_search |
Functions | |
int | SearchInit (unsigned int num) |
void | SearchFree () |
int | SearchFindString (unsigned int mpse_id, char *str, int str_len, int(*Match)(void *, int, void *)) |
void | SearchAdd (unsigned int mpse_id, char *pat, int id) |
void | SearchPrepPatterns (unsigned int mpse_id) |
Variables | |
static t_search * | _mpse = NULL |
static unsigned int | _num_mpse |
|
|
|
Definition at line 67 of file str_search.c. References tag_search::max_len, and mpseAddPattern(). Referenced by XLINK2STATE_Init(). |
|
Definition at line 55 of file str_search.c. References tag_search::max_len, and mpseSearch(). Referenced by XLINK2STATE_ProcessPacket(). |
|
Definition at line 38 of file str_search.c. References _num_mpse, mpseFree(), and NULL. |
|
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(). |
|
Definition at line 77 of file str_search.c. References mpsePrepPatterns(). Referenced by XLINK2STATE_Init(). |
|
Definition at line 17 of file str_search.c. |
|
Definition at line 18 of file str_search.c. Referenced by SearchFree(), and SearchInit(). |