From 0e0ef8b1cff7d25c1331f08389da8c5e3a96593d Mon Sep 17 00:00:00 2001 From: Trumeet Date: Wed, 9 Jun 2021 16:17:24 -0700 Subject: feat: catch overload messages --- mcin/mcin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mcin/mcin.h') diff --git a/mcin/mcin.h b/mcin/mcin.h index 5b6f78c..6aa8335 100644 --- a/mcin/mcin.h +++ b/mcin/mcin.h @@ -4,10 +4,12 @@ #include #define MCIN_REGEX_COUNT 51 +#define MCIN_REGEX_COUNT_WARN 1 typedef struct mcin_matcher { regex_t regex_master; regex_t regex[MCIN_REGEX_COUNT]; + regex_t regex_warn[MCIN_REGEX_COUNT_WARN]; } MCINMatcher; int mcin_matcher_init(MCINMatcher *out); -- cgit v1.2.3