diff options
author | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2016-04-25 18:03:34 +0300 |
---|---|---|
committer | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2016-04-25 18:03:34 +0300 |
commit | a062f40ccf70f1a34db948b63cea4a09a236e301 (patch) | |
tree | a113842e87b37187895a8538264754cf7bc39fba /include/zbxregexp.h | |
parent | 95c59ebe7b35fdd896d0c3a209c58320cecd9c42 (diff) |
...G...PS. [ZBXNEXT-1250] added distinction between regexp compilation error and not matching string, adapted related code; added frontend error message for count() in case of invalid regexp; fixed incorrect switch statements in count_one_*() functions
Diffstat (limited to 'include/zbxregexp.h')
-rw-r--r-- | include/zbxregexp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zbxregexp.h b/include/zbxregexp.h index 2372a3f40d0..ef280eaa9bd 100644 --- a/include/zbxregexp.h +++ b/include/zbxregexp.h @@ -21,6 +21,9 @@ #include "zbxalgo.h" +#define NO_MATCH 0 +#define MATCH 1 + typedef struct { char *name; |