From fef008b549c9c6d6ee1e564312787c3d3f14f0c0 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 16 May 2018 00:58:28 +0200 Subject: Convert the binding to use the controller Ease Time series DB abstraction layer by using Dyn API that implemente the API defined by the JSON schema. Change-Id: I67de4fbca10048201fdd2da683732a5f4f5b5368 Signed-off-by: Romain Forlot --- src/plugins/influxdb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/influxdb.h') diff --git a/src/plugins/influxdb.h b/src/plugins/influxdb.h index ae40e77..ed05f97 100644 --- a/src/plugins/influxdb.h +++ b/src/plugins/influxdb.h @@ -19,6 +19,7 @@ #define _INFLUXDB_H_ #define _GNU_SOURCE +#include "ctl-plugin.h" #include "wrap-json.h" #include "tsdb.h" #include "../utils/list.h" @@ -34,7 +35,7 @@ struct series_t { uint64_t timestamp; }; -int create_database(); +int create_database(AFB_ReqT request); int unpack_metric_from_api(json_object *m, struct series_t *serie); -- cgit 1.2.3-korg