summaryrefslogtreecommitdiffstats
path: root/src/database/rrdfunctions-inflight.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/rrdfunctions-inflight.h')
-rw-r--r--src/database/rrdfunctions-inflight.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/database/rrdfunctions-inflight.h b/src/database/rrdfunctions-inflight.h
new file mode 100644
index 000000000..8fd43f0af
--- /dev/null
+++ b/src/database/rrdfunctions-inflight.h
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef NETDATA_RRDFUNCTIONS_INFLIGHT_H
+#define NETDATA_RRDFUNCTIONS_INFLIGHT_H
+
+#include "rrd.h"
+
+void rrd_functions_inflight_init(void);
+
+// cancel a running function, to be run from anywhere
+void rrd_function_cancel(const char *transaction);
+
+void rrd_function_progress(const char *transaction);
+void rrd_function_call_progresser(nd_uuid_t *transaction);
+
+#endif //NETDATA_RRDFUNCTIONS_INFLIGHT_H