diff options
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 |