summaryrefslogtreecommitdiffstats
path: root/src/database/rrdlabels.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:33:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:34:10 +0000
commit83ba6762cc43d9db581b979bb5e3445669e46cc2 (patch)
tree2e69833b43f791ed253a7a20318b767ebe56cdb8 /src/database/rrdlabels.h
parentReleasing debian version 1.47.5-1. (diff)
downloadnetdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.tar.xz
netdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.zip
Merging upstream version 2.0.3+dfsg (Closes: #923993, #1042533, #1045145).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/database/rrdlabels.h')
-rw-r--r--src/database/rrdlabels.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/database/rrdlabels.h b/src/database/rrdlabels.h
index 28132b73e..da8ec5be1 100644
--- a/src/database/rrdlabels.h
+++ b/src/database/rrdlabels.h
@@ -30,8 +30,6 @@ typedef enum __attribute__ ((__packed__)) rrdlabel_source {
#define RRDLABEL_FLAG_INTERNAL (RRDLABEL_FLAG_OLD | RRDLABEL_FLAG_NEW | RRDLABEL_FLAG_DONT_DELETE)
-size_t text_sanitize(unsigned char *dst, const unsigned char *src, size_t dst_size, const unsigned char *char_map, bool utf, const char *empty, size_t *multibyte_length);
-
RRDLABELS *rrdlabels_create(void);
void rrdlabels_destroy(RRDLABELS *labels_dict);
void rrdlabels_add(RRDLABELS *labels, const char *name, const char *value, RRDLABEL_SRC ls);
@@ -77,6 +75,7 @@ pattern_array_add_key_simple_pattern(struct pattern_array *pa, const char *key,
void pattern_array_free(struct pattern_array *pa);
int rrdlabels_unittest(void);
+size_t rrdlabels_sanitize_name(char *dst, const char *src, size_t dst_size);
// unfortunately this break when defined in exporting_engine.h
bool exporting_labels_filter_callback(const char *name, const char *value, RRDLABEL_SRC ls, void *data);