summaryrefslogtreecommitdiffstats
path: root/src/plugins/tsdb.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-04-14 01:55:23 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 23:41:14 +0200
commitbe6447ca2038c84d2e946e27b897815e95c48e34 (patch)
treeed156dc6229280e12b8378fefbe3abab328f05b2 /src/plugins/tsdb.h
parentd6ca5026642e051bcfaf98fa6982d8d555747c52 (diff)
Utility function to return nanosecond timestamp
Change-Id: I73261cae3ed9b4d449e2b83b0578ddd2c5df89f1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/plugins/tsdb.h')
-rw-r--r--src/plugins/tsdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/tsdb.h b/src/plugins/tsdb.h
index d7d6c2f..5c0245c 100644
--- a/src/plugins/tsdb.h
+++ b/src/plugins/tsdb.h
@@ -43,3 +43,5 @@ void influxdb_write_curl_cb(void *closure, int status, CURL *curl, const char *r
int influxdb_reader(void *args);
int db_ping();
+
+u_int64_t get_ts();