zhangzengfei
2023-01-11 c4d21b97b8a9eedd485efd026395a1007342c3da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <string.h>
 
#include "cbhomeclient.h"
#include "sysset.h"
#include "util.h"
#include "3rdparty/yyjson/yyjson.h"
 
using namespace protomsg;
using namespace std;
 
bool dbapi_get_server_info(void *handle, protomsg::LocalConfig & message) {
    const char *topic = DATA_URL_PREFIX("/sysset/getServerInfo");
 
    return bus_dbapi_get(handle, topic, message);
}