blob: 26613eb648d7d96ab84b956c42c6246b5292a914 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef _NICK_H_
#define _NICK_H_
#include <pcre.h>
struct nick_t {
char *name;
struct nick_regex_t {
pcre *re;
struct nick_regex_t *next;
} *regexes;
struct nick_t *next;
};
void nick_init();
struct nick_t *nick_add(char *name);
int nick_regex_add(struct nick_t *nick, char *re_s);
void nick_free();
#endif
|