#include <sdbusplus/server.hpp> | |
#include "config.h" | |
int main(int argc, char* argv[]) | |
{ | |
auto bus = sdbusplus::bus::new_default(); | |
sdbusplus::server::manager::manager objManager(bus, | |
OCC_PASS_THROUGH_ROOT); | |
bus.request_name(OCC_PASS_THROUGH_BUSNAME); | |
while (true) | |
{ | |
bus.process_discard(); | |
bus.wait(); | |
} | |
return 0; | |
} |