1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-28 09:56:38 +02:00
Files
unrealircd/include/badwords.h
T
2000-05-28 08:55:44 +00:00

21 lines
358 B
C

#ifndef __BADWORDS_H
#define __BADWORDS_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <regex.h>
#define MAX_MATCH 1
#define MAX_WORDLEN 64
#define MAX_WORDS 30
#define PATTERN "\\w*%s\\w*"
#define REPLACEWORD "<censored>"
char *stripbadwords(char *, int);
int loadbadwords(char *, int);
void freebadwords(void);
#endif