secgateway/Product/user/object_manager/regex_table.h

22 lines
357 B
C

#ifndef _REGEX_TABLE_H
#define _REGEX_TABLE_H
typedef enum {
REGEX_SVR_PORT = 0,
REGEX_IP_ADDR = 1,
REGEX_DT = 2,
REGEX_TIME = 3,
// add before this line
REGEX_MAX
} REGEX_TBL_ID;
#ifdef __cplusplus
extern "C" {
#endif
int pcre_match(int regId, const char *pStr);
#ifdef __cplusplus
}
#endif
#endif