summaryrefslogtreecommitdiffstats
path: root/src/libnetdata/sanitizers/sanitizers-labels.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libnetdata/sanitizers/sanitizers-labels.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libnetdata/sanitizers/sanitizers-labels.h b/src/libnetdata/sanitizers/sanitizers-labels.h
new file mode 100644
index 00000000..39fd6a67
--- /dev/null
+++ b/src/libnetdata/sanitizers/sanitizers-labels.h
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef NETDATA_SANITIZERS_LABELS_H
+#define NETDATA_SANITIZERS_LABELS_H
+
+#include "../libnetdata.h"
+
+size_t rrdlabels_sanitize_name(char *dst, const char *src, size_t dst_size);
+size_t rrdlabels_sanitize_value(char *dst, const char *src, size_t dst_size);
+
+size_t prometheus_rrdlabels_sanitize_name(char *dst, const char *src, size_t dst_size);
+
+#endif //NETDATA_SANITIZERS_LABELS_H