web_buffer_svg.h 789 B

12345678910111213141516
  1. // SPDX-License-Identifier: GPL-3.0-or-later
  2. #ifndef NETDATA_WEB_BUFFER_SVG_H
  3. #define NETDATA_WEB_BUFFER_SVG_H 1
  4. #include "libnetdata/libnetdata.h"
  5. #include "web/server/web_client.h"
  6. extern void buffer_svg(BUFFER *wb, const char *label, calculated_number value, const char *units, const char *label_color, const char *value_color, int precision, int scale, uint32_t options, int fixed_width_lbl, int fixed_width_val, const char* text_color_lbl, const char* text_color_val);
  7. extern char *format_value_and_unit(char *value_string, size_t value_string_len, calculated_number value, const char *units, int precision);
  8. extern int web_client_api_request_v1_badge(struct rrdhost *host, struct web_client *w, char *url);
  9. #include "web/api/web_api_v1.h"
  10. #endif /* NETDATA_WEB_BUFFER_SVG_H */