diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2021-02-22 22:05:10 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2021-02-22 22:05:10 +0300 |
commit | b6cf37cf179bdd678a876e11f5bb2827e3341c47 (patch) | |
tree | 188f95a61fe9f0b44fe5187a9497f37f3f876d29 /include | |
parent | a06a08111546081e8256267bc0062cbd74dc3309 (diff) |
.......PS. [ZBXNEXT-6478] added report.test request stub
Diffstat (limited to 'include')
-rw-r--r-- | include/zbxjson.h | 2 | ||||
-rw-r--r-- | include/zbxprometheus.h | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/include/zbxjson.h b/include/zbxjson.h index 9e4284390cb..82fe4329bab 100644 --- a/include/zbxjson.h +++ b/include/zbxjson.h @@ -198,6 +198,8 @@ #define ZBX_PROTO_VALUE_PREPROCESSING_TEST "preprocessing.test" #define ZBX_PROTO_VALUE_EXPRESSIONS_EVALUATE "expressions.evaluate" +#define ZBX_PROTO_VALUE_REPORT_TEST "report.test" + typedef enum { ZBX_JSON_TYPE_UNKNOWN = 0, diff --git a/include/zbxprometheus.h b/include/zbxprometheus.h index 698b44be2da..74eaf6efb07 100644 --- a/include/zbxprometheus.h +++ b/include/zbxprometheus.h @@ -17,8 +17,8 @@ ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. **/ -#ifndef __zbxprometheus_h__ -#define __zbxprometheus_h__ +#ifndef ZABBIX_ZBXPROMETHEUS_H +#define ZABBIX_ZBXPROMETHEUS_H int zbx_prometheus_pattern(const char *data, const char *filter_data, const char *output, char **value, char **error); @@ -27,4 +27,4 @@ int zbx_prometheus_to_json(const char *data, const char *filter_data, char **val int zbx_prometheus_validate_filter(const char *pattern, char **error); int zbx_prometheus_validate_label(const char *label); -#endif /* __zbxprometheus_h__ */ +#endif |