diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-02-07 11:49:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-02-07 12:42:05 +0000 |
commit | 2e85f9325a797977eea9dfea0a925775ddd211d9 (patch) | |
tree | 452c7f30d62fca5755f659b99e4e53c7b03afc21 /web/api/web_api_v1.h | |
parent | Releasing debian version 1.19.0-4. (diff) | |
download | netdata-2e85f9325a797977eea9dfea0a925775ddd211d9.tar.xz netdata-2e85f9325a797977eea9dfea0a925775ddd211d9.zip |
Merging upstream version 1.29.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'web/api/web_api_v1.h')
-rw-r--r-- | web/api/web_api_v1.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/web/api/web_api_v1.h b/web/api/web_api_v1.h index 3edb47e3c..445b0e4a5 100644 --- a/web/api/web_api_v1.h +++ b/web/api/web_api_v1.h @@ -13,20 +13,24 @@ extern uint32_t web_client_api_request_v1_data_format(char *name); extern uint32_t web_client_api_request_v1_data_google_format(char *name); extern int web_client_api_request_v1_alarms(RRDHOST *host, struct web_client *w, char *url); +extern int web_client_api_request_v1_alarms_values(RRDHOST *host, struct web_client *w, char *url); extern int web_client_api_request_v1_alarm_log(RRDHOST *host, struct web_client *w, char *url); extern int web_client_api_request_single_chart(RRDHOST *host, struct web_client *w, char *url, void callback(RRDSET *st, BUFFER *buf)); extern int web_client_api_request_v1_alarm_variables(RRDHOST *host, struct web_client *w, char *url); extern int web_client_api_request_v1_alarm_count(RRDHOST *host, struct web_client *w, char *url); extern int web_client_api_request_v1_charts(RRDHOST *host, struct web_client *w, char *url); +extern int web_client_api_request_v1_archivedcharts(RRDHOST *host, struct web_client *w, char *url); extern int web_client_api_request_v1_chart(RRDHOST *host, struct web_client *w, char *url); extern int web_client_api_request_v1_data(RRDHOST *host, struct web_client *w, char *url); extern int web_client_api_request_v1_registry(RRDHOST *host, struct web_client *w, char *url); extern int web_client_api_request_v1_info(RRDHOST *host, struct web_client *w, char *url); extern int web_client_api_request_v1(RRDHOST *host, struct web_client *w, char *url); +extern int web_client_api_request_v1_info_fill_buffer(RRDHOST *host, BUFFER *wb); +extern void host_labels2json(RRDHOST *host, BUFFER *wb, size_t indentation); extern void web_client_api_v1_init(void); extern void web_client_api_v1_management_init(void); -char *api_secret; +extern char *api_secret; #endif //NETDATA_WEB_API_V1_H |