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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/influxdb.h b/src/plugins/influxdb.h
index 781ab29..33eb0a2 100644
--- a/src/plugins/influxdb.h
+++ b/src/plugins/influxdb.h
@@ -127,6 +127,8 @@ static inline void concatenate_str(char* dest, const char* source, const char* s
strncat(dest, "\"", 1);
}
-size_t make_url(char* url, size_t l_url, const char* host, const char* port, const char* endpoint);
+extern size_t make_url_db(char* url, size_t l_url, const char* host, const char* port, const char* endpoint, const char *db);
+extern size_t make_url(char* url, size_t l_url, const char* host, const char* port, const char* endpoint);
+extern char* get_url(const char* host, const char* port, const char* endpoint);
#endif