#ifndef _NICK_H_ #define _NICK_H_ #include 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