summaryrefslogtreecommitdiffstats
path: root/database/rrdsetvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'database/rrdsetvar.h')
-rw-r--r--database/rrdsetvar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/database/rrdsetvar.h b/database/rrdsetvar.h
index 37f4da9591..bcfa27aa63 100644
--- a/database/rrdsetvar.h
+++ b/database/rrdsetvar.h
@@ -12,11 +12,10 @@
// these variables
struct rrdsetvar {
- char *variable; // variable name
- uint32_t hash; // variable name hash
+ STRING *variable; // variable name
- char *key_fullid; // chart type.chart id.variable
- char *key_fullname; // chart type.chart name.variable
+ STRING *key_fullid; // chart type.chart id.variable
+ STRING *key_fullname; // chart type.chart name.variable
RRDVAR_TYPE type;
void *value;
@@ -32,6 +31,7 @@ struct rrdsetvar {
struct rrdset *rrdset;
struct rrdsetvar *next;
+ struct rrdsetvar *prev;
};
extern RRDSETVAR *rrdsetvar_custom_chart_variable_create(RRDSET *st, const char *name);