summaryrefslogtreecommitdiffstats
path: root/src/plugins/influxdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/influxdb.h')
-rw-r--r--src/plugins/influxdb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/influxdb.h b/src/plugins/influxdb.h
index 859e101..ae40e77 100644
--- a/src/plugins/influxdb.h
+++ b/src/plugins/influxdb.h
@@ -23,20 +23,20 @@
#include "tsdb.h"
#include "../utils/list.h"
-struct series_columns_t {
+struct serie_columns_t {
struct list *tags;
struct list *fields;
};
struct series_t {
const char *name;
- struct series_columns_t series_columns;
+ struct serie_columns_t serie_columns;
uint64_t timestamp;
};
int create_database();
-int unpack_metric_from_api(json_object *m, struct series_t **serie);
+int unpack_metric_from_api(json_object *m, struct series_t *serie);
void concatenate(char* dest, const char* source, const char *sep);