#include "rule.h" #include "util.h" using namespace protomsg; bool dbapi_get_time_rules(void *handle, protomsg::CameraTimerule & message) { const char *topic = DATA_URL_PREFIX("/cameraTimerule/findAll"); return bus_dbapi_get(handle, topic, message); }