diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2021-03-16 12:38:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 12:38:16 +0100 |
commit | e7e5d0c37242d8457e4b2610a95effe0db5ca1b1 (patch) | |
tree | 133ea3a9c7d4d5403cc0e4dd4b43717102efabe1 /health | |
parent | 2d2f249fd7cac711adc3b3ac204c83905ac631ad (diff) |
Adds ACLK-NG as fallback(#10315)
* adds a new implementation of ACLK written almost from scratch
* external dependencies only OpenSSL and JSON-C
* fallback for systems where ACLK Legacy can't build (for technical or philosophical reasons)
* can be forced to build by giving "--aclk-ng" to the installer
Diffstat (limited to 'health')
-rw-r--r-- | health/health_json.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/health/health_json.c b/health/health_json.c index 7b5a1e3cb4..cbf76b5ba6 100644 --- a/health/health_json.c +++ b/health/health_json.c @@ -2,7 +2,7 @@ #include "health.h" -static inline void health_string2json(BUFFER *wb, const char *prefix, const char *label, const char *value, const char *suffix) { +void health_string2json(BUFFER *wb, const char *prefix, const char *label, const char *value, const char *suffix) { if(value && *value) { buffer_sprintf(wb, "%s\"%s\":\"", prefix, label); buffer_strcat_htmlescape(wb, value); @@ -13,7 +13,7 @@ static inline void health_string2json(BUFFER *wb, const char *prefix, const char buffer_sprintf(wb, "%s\"%s\":null%s", prefix, label, suffix); } -inline void health_alarm_entry2json_nolock(BUFFER *wb, ALARM_ENTRY *ae, RRDHOST *host) { +void health_alarm_entry2json_nolock(BUFFER *wb, ALARM_ENTRY *ae, RRDHOST *host) { buffer_sprintf(wb, "\n\t{\n" "\t\t\"hostname\": \"%s\",\n" |