summaryrefslogtreecommitdiffstats
path: root/src/database/rrdfunctions-progress.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/rrdfunctions-progress.c')
-rw-r--r--src/database/rrdfunctions-progress.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/database/rrdfunctions-progress.c b/src/database/rrdfunctions-progress.c
new file mode 100644
index 000000000..81d663909
--- /dev/null
+++ b/src/database/rrdfunctions-progress.c
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#include "rrdfunctions-progress.h"
+
+int rrdhost_function_progress(BUFFER *wb, const char *function __maybe_unused) {
+ return progress_function_result(wb, rrdhost_hostname(localhost));
+}
+