| | |
| | | |
| | | using namespace protomsg; |
| | | |
| | | bool dbapi_get_sdk_channel_set(void *handle, std::vector<protomsg::SdkChanSet> & list) { |
| | | bool dbapi_get_sdk_channel_set(void *handle, std::vector<protomsg::SdkChanSet> &list) { |
| | | const char *topic = DATA_URL_PREFIX("/sdk/getAllSdkChanSet"); |
| | | |
| | | bool ret = bus_dbapi_get_list(handle, topic, list); |
| | | bool ret = bus_dbapi_get_list(handle, topic, list); |
| | | |
| | | return ret; |
| | | } |
| | | |
| | | bool dbapi_get_sdks(void *handle, std::vector<protomsg::Sdk> & list) { |
| | | bool dbapi_get_sdks(void *handle, std::vector<protomsg::Sdk> &list) { |
| | | const char *topic = DATA_URL_PREFIX("/sdk/findAllSdk"); |
| | | |
| | | bool ret = bus_dbapi_get_list(handle, topic, list); |
| | | bool ret = bus_dbapi_get_list(handle, topic, list); |
| | | |
| | | return ret; |
| | | } |