diff options
Diffstat (limited to 'src/plugins/tsdb.h')
-rw-r--r-- | src/plugins/tsdb.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/plugins/tsdb.h b/src/plugins/tsdb.h index 437c5dc..8469ac0 100644 --- a/src/plugins/tsdb.h +++ b/src/plugins/tsdb.h @@ -18,9 +18,6 @@ #ifndef _TSDB_H #define _TSDB_H -#define AFB_BINDING_VERSION 2 -#include <afb/afb-binding.h> - #include <json-c/json.h> #include "curl-wrap.h" @@ -32,6 +29,7 @@ #define URL_MAXIMUM_LENGTH 2047 enum db_available { + NODB = 0, INFLUX = 1, GRAPHITE = 2, OPENTSDB = 4 @@ -43,13 +41,6 @@ struct reader_args { u_int32_t delay; }; -CURL *influxdb_write(const char* host, const char *port, json_object *metric); -void influxdb_write_curl_cb(void *closure, int status, CURL *curl, const char *result, size_t size); - -int influxdb_reader(void *args); - -int db_ping(); - u_int64_t get_ts(); #endif |