1#ifndef _IPT_WEBSTR_H 2#define _IPT_WEBSTR_H 3 4#define BM_MAX_NLEN 256 5#define BM_MAX_HLEN 1024 6 7#define BLK_JAVA 0x01 8#define BLK_ACTIVE 0x02 9#define BLK_COOKIE 0x04 10#define BLK_PROXY 0x08 11 12typedef char *(*proc_ipt_search) (char *, char *, int, int); 13 14struct ipt_webstr_info { 15 char string[BM_MAX_NLEN]; 16 u_int16_t invert; 17 u_int16_t len; 18 u_int8_t type; 19}; 20 21enum ipt_webstr_type 22{ 23 IPT_WEBSTR_HOST, 24 IPT_WEBSTR_URL, 25 IPT_WEBSTR_CONTENT 26}; 27 28#endif /* _IPT_WEBSTR_H */ 29