summaryrefslogtreecommitdiff
path: root/regexset.h
diff options
context:
space:
mode:
Diffstat (limited to 'regexset.h')
-rw-r--r--regexset.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/regexset.h b/regexset.h
index 3c023f1..aba4431 100644
--- a/regexset.h
+++ b/regexset.h
@@ -4,12 +4,16 @@
#include <pcre.h>
struct regexset_t {
- pcre *text, *join, *kick;
- pcre_extra *text_e, *join_e, *kick_e;
+ 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 *kick);
+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();