#ifndef __BADWORDS_H #define __BADWORDS_H #include #include #include #ifdef HAVE_REGEX #include #else #include "../extras/regex/regex.h" #endif #define MAX_MATCH 1 #define MAX_WORDLEN 64 #define MAX_WORDS 50 #define PATTERN "\\w*%s\\w*" #define REPLACEWORD "" char *stripbadwords(char *, int); int loadbadwords(char *, int); void freebadwords(void); #endif