interface_influxdb.h 440 B

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