master
h 19 lines 815 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #ifndef NETDATA_RRDFUNCTIONS_EXPORTERS_H
4 #define NETDATA_RRDFUNCTIONS_EXPORTERS_H
5
6 #include "rrd.h"
7
8 #define RRDFUNCTIONS_VERSION_SEPARATOR "|"
9
10 void stream_sender_send_rrdset_functions(RRDSET *st, BUFFER *wb);
11 void stream_sender_send_global_rrdhost_functions(RRDHOST *host, BUFFER *wb, bool dyncfg);
12
13 void chart_functions2json(RRDSET *st, BUFFER *wb);
14 void chart_functions_to_dict(DICTIONARY *rrdset_functions_view, DICTIONARY *dst, void *value, size_t value_size);
15 void host_functions_to_dict(RRDHOST *host, DICTIONARY *dst, void *value, size_t value_size, STRING **help, STRING **tags,
16 HTTP_ACCESS *access, int *priority, uint32_t *version);
17 void host_functions2json(RRDHOST *host, BUFFER *wb);
18
19 #endif //NETDATA_RRDFUNCTIONS_EXPORTERS_H