#ifndef _REGEXSET_H_ #define _REGEXSET_H_ #include struct regexset_t { pcre *text, *join, *part, *quit, *kick, *nick_changed, *log_opened, *day_changed; pcre_extra *text_e, *join_e, *part_e, *quit_e, *kick_e, *nick_changed_e, *log_opened_e, *day_changed_e; const char *log_date_format, *day_date_format; }; void rs_init(); struct regexset_t *rs_add(const char *text, const char *join, const char *part, const char *quit, const char *kick, const char *nick_changed, const char *log_opened, const char *day_changed, const char *log_date_format, const char *day_date_format); struct regexset_t *rs_get(int index); void rs_free(); #endif