From e25f3e440ed00d597a9802df68adedadb629d814 Mon Sep 17 00:00:00 2001 From: cheliequan <liequanche@126.com> Date: 星期五, 13 一月 2023 12:10:06 +0800 Subject: [PATCH] 1.增加获取系统授权接口 2.完善相机相关函数实现 3.优化内存释放 --- util.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/util.h b/util.h index 4521fb7..8e38043 100644 --- a/util.h +++ b/util.h @@ -24,13 +24,13 @@ using namespace std; using google::protobuf::util::JsonStringToMessage; - bool json_to_proto(const std::string &json, google::protobuf::Message& message); bool proto_to_json(const google::protobuf::Message& message, std::string& json); char *make_get_request(const char *topic); bool bus_dbapi_get(void *handle, const char* topic, google::protobuf::Message& message); bool bus_dbapi_get_topic_data(void *handle, const char* topic, crepmsg **pptr_repmsg, size_t len); extern "C" int bus_dbapi_get_json_data(const char * json, char ** pptr_data, uint8_t *ptr_type); +bool bus_dbapi_get_str(void *handle, const char* topic, char **pptr_str); template <class T> bool bus_dbapi_get_list (void *handle, const char* topic, T & list) { -- Gitblit v1.8.0