| Deepak Kodihalli | 92a6341 | 2017-03-17 05:01:00 -0500 | [diff] [blame] | 1 | #include <sdbusplus/server.hpp> |
| 2 | #include "config.h" | ||||
| 3 | |||||
| 4 | int main(int argc, char* argv[]) | ||||
| 5 | { | ||||
| 6 | auto bus = sdbusplus::bus::new_default(); | ||||
| 7 | sdbusplus::server::manager::manager objManager(bus, | ||||
| 8 | OCC_PASS_THROUGH_ROOT); | ||||
| 9 | bus.request_name(OCC_PASS_THROUGH_BUSNAME); | ||||
| 10 | |||||
| 11 | while (true) | ||||
| 12 | { | ||||
| 13 | bus.process_discard(); | ||||
| 14 | bus.wait(); | ||||
| 15 | } | ||||
| 16 | |||||
| 17 | return 0; | ||||
| 18 | } | ||||