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-inline.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-inline.h')
-rw-r--r-- | src/database/rrdfunctions-inline.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/database/rrdfunctions-inline.h b/src/database/rrdfunctions-inline.h new file mode 100644 index 000000000..9948edbef --- /dev/null +++ b/src/database/rrdfunctions-inline.h @@ -0,0 +1,14 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +#ifndef NETDATA_RRDFUNCTIONS_INLINE_H +#define NETDATA_RRDFUNCTIONS_INLINE_H + +#include "rrd.h" + +typedef int (*rrd_function_execute_inline_cb_t)(BUFFER *wb, const char *function); + +void rrd_function_add_inline(RRDHOST *host, RRDSET *st, const char *name, int timeout, int priority, + const char *help, const char *tags, + HTTP_ACCESS access, rrd_function_execute_inline_cb_t execute_cb); + +#endif //NETDATA_RRDFUNCTIONS_INLINE_H |