interface_influxdb.h 454 B

1234567891011121314151617
  1. #ifdef ENABLE_INFLUXDB
  2. #pragma once
  3. #ifndef INTERFACE_INFLUXDB_H
  4. #define INTERFACE_INFLUXDB_H
  5. #include <string>
  6. #include <map>
  7. #include <functional>
  8. void InfluxDBInit(std::string _influxDBURI, std::string _database, std::string _measurement, std::string _user, std::string _password);
  9. void InfluxDBdestroy();
  10. void InfluxDBPublish(std::string _key, std::string _content, std::string _timestamp);
  11. #endif //INTERFACE_INFLUXDB_H
  12. #endif //ENABLE_INFLUXDB