cheliequan
2023-01-12 56a52cbb897ffc1b7cec64d6bba6de2e34e4db95
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);
}