diff options
author | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-03-08 19:38:24 +0300 |
---|---|---|
committer | Artjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com> | 2021-03-08 19:39:05 +0300 |
commit | efaaf305ff75350eac56e172a449baded39676d3 (patch) | |
tree | db6d0d8b37c0bd38e225661a5328c4066a1a599c /include/zbxjson.h | |
parent | b7758d13000ad2a5d0138fd1f5ab7f9924033b29 (diff) |
........S. [DEV-1836] updated the code according to the first subissue
Diffstat (limited to 'include/zbxjson.h')
-rw-r--r-- | include/zbxjson.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/zbxjson.h b/include/zbxjson.h index 9e4284390cb..8018553ad86 100644 --- a/include/zbxjson.h +++ b/include/zbxjson.h @@ -274,7 +274,7 @@ void zbx_json_escape(char **string); int zbx_json_open_path(const struct zbx_json_parse *jp, const char *path, struct zbx_json_parse *out); zbx_json_type_t zbx_json_valuetype(const char *p); -void zbx_json_log(const struct zbx_json_parse *jp, int loglevel); +//void zbx_json_log(const struct zbx_json_parse *jp, int loglevel); /* jsonpath support */ @@ -295,4 +295,7 @@ void zbx_jsonpath_clear(zbx_jsonpath_t *jsonpath); int zbx_jsonpath_compile(const char *path, zbx_jsonpath_t *jsonpath); int zbx_jsonpath_query(const struct zbx_json_parse *jp, const char *path, char **output); +void zbx_json_create_entry_for_DBversion(struct zbx_json *json, char *database, char *friendly_current_version, + char *friendly_min_version, char *friendly_max_version, int flag); + #endif /* ZABBIX_ZJSON_H */ |