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:
authorAndris Zeila <andris.zeila@zabbix.com>2020-08-28 10:53:42 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2020-08-28 11:11:02 +0300
commit3b6e07d1ec2ebb46ebe5294da2a71f362c6a5c1c (patch)
tree7f1b166d21c6a822b4b5c7e0deb6c15c37ee6636 /include/zbxjson.h
parent7fcb4908ac42281568e4e85f3adefe4a9b6ecd5e (diff)
.......PS. [ZBXNEXT-6167] added diaginfo runtime command to log internal diagnostic information
* commit 'b9d85eedee7431f9204ac3a00eea559b81486ae7': (45 commits) .D........ [ZBXNEXT-6167] updated server and proxy man pages .D........ [ZBXNEXT-6167] added changelog entry .......PS. [ZBXNEXT-6167] don't allow runtime command on Zabbix agentd .......PS. [ZBXNEXT-6167] style fix .......PS. [ZBXNEXT-6167] style fix .......PS. [ZBXNEXT-6167] simplified main process waiting for dead children .......PS. [ZBXNEXT-6167] added missing include file, more defines .......PS. [ZBXNEXT-6167] added diaginfo remote command suppor to proxy .......PS. [ZBXNEXT-6167] added comments, minor refactoring ........S. [ZBXNEXT-6167] added remote command support for diaginfo printing on server .......PS. [ZBXNEXT-6167] small style fixes ........S. [ZBXNEXT-6167] fixed value cache diagnostics retrieval with disabled value cache .......PS. [ZBXNEXT-6167] fixed vector not being destroyed on failure .......PS. [ZBXNEXT-6167] fixed vector not being destroyed on failure .......PS. [ZBXNEXT-6167] fixed warning .......PS. [ZBXNEXT-6167] fixed memory leak ........S. [ZBXNEXT-6167] fixed memory leak ........S. [ZBXNEXT-6167] fixed wrong type used when serializing lld top result ........S. [ZBXNEXT-6167] small style fix ........S. [ZBXNEXT-6167] small style fixes ... (cherry picked from commit dabac74c51a9d19db24c871f7f8ec247ac540eeb)
Diffstat (limited to 'include/zbxjson.h')
-rw-r--r--include/zbxjson.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zbxjson.h b/include/zbxjson.h
index 499ff77bf5e..1edc6c42d1b 100644
--- a/include/zbxjson.h
+++ b/include/zbxjson.h
@@ -280,6 +280,9 @@ int zbx_json_count(const struct zbx_json_parse *jp);
const char *zbx_json_decodevalue(const char *p, char *string, size_t size, zbx_json_type_t *type);
const char *zbx_json_decodevalue_dyn(const char *p, char **string, size_t *string_alloc, zbx_json_type_t *type);
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);
+
+void zbx_json_log(const struct zbx_json_parse *jp, int loglevel);
/* jsonpath support */