Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlebs Ivanovskis <git-no-reply@zabbix.com>2016-04-25 18:03:34 +0300
committerGlebs Ivanovskis <git-no-reply@zabbix.com>2016-04-25 18:03:34 +0300
commita062f40ccf70f1a34db948b63cea4a09a236e301 (patch)
treea113842e87b37187895a8538264754cf7bc39fba /include/zbxregexp.h
parent95c59ebe7b35fdd896d0c3a209c58320cecd9c42 (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.h3
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;