cheliequan
2023-01-29 dccc1ca1304dc1fcb86c8e24edd491509269b3e7
sysset.cpp
@@ -1,21 +1,21 @@
#include "sysset.h"
#include "dbapi.h"
#include "util.h"
using namespace protomsg;
bool dbapi_get_server_info(void *handle, protomsg::LocalConfig & message) {
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);
}
bool dbapi_get_poll_config(void *handle, protomsg::PollConfig & message) {
bool dbapi_get_poll_config(void *handle, protomsg::PollConfig &message) {
    const char *topic = DATA_URL_PREFIX("/pollConfig/getPollConfig");
    return bus_dbapi_get(handle, topic, message);
}
bool dbapi_get_stack_config(void *handle, protomsg::FileAnalysisSetting & message) {
bool dbapi_get_stack_config(void *handle, protomsg::FileAnalysisSetting &message) {
    const char *topic = DATA_URL_PREFIX("/fileSetting/show");
    return bus_dbapi_get(handle, topic, message);