diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:54:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:54:44 +0000 |
commit | 836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch) | |
tree | 1604da8f482d02effa033c94a84be42bc0c848c3 /src/database/rrdfunctions-exporters.h | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip |
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/database/rrdfunctions-exporters.h')
-rw-r--r-- | src/database/rrdfunctions-exporters.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/database/rrdfunctions-exporters.h b/src/database/rrdfunctions-exporters.h new file mode 100644 index 000000000..43bb660eb --- /dev/null +++ b/src/database/rrdfunctions-exporters.h @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +#ifndef NETDATA_RRDFUNCTIONS_EXPORTERS_H +#define NETDATA_RRDFUNCTIONS_EXPORTERS_H + +#include "rrd.h" + +void rrd_chart_functions_expose_rrdpush(RRDSET *st, BUFFER *wb); +void rrd_global_functions_expose_rrdpush(RRDHOST *host, BUFFER *wb, bool dyncfg); + +void chart_functions2json(RRDSET *st, BUFFER *wb); +void chart_functions_to_dict(DICTIONARY *rrdset_functions_view, DICTIONARY *dst, void *value, size_t value_size); +void host_functions_to_dict(RRDHOST *host, DICTIONARY *dst, void *value, size_t value_size, STRING **help, STRING **tags, + HTTP_ACCESS *access, int *priority); +void host_functions2json(RRDHOST *host, BUFFER *wb); + +#endif //NETDATA_RRDFUNCTIONS_EXPORTERS_H |