Add TimeManager daemon to openbmc
Time Manager daemon supporting NTP and MANUAL modes and below policy
*) BMC owns the time
*) HOST owns the time
*) SPLIT clock and HOST's time is maintained as an offset to BMC
*) BOTH the BMC and HOST own the clock
Change-Id: I81701b67731aa4b37d6926d5b93d397fea96e086
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
diff --git a/time-register.hpp b/time-register.hpp
new file mode 100644
index 0000000..bf776d3
--- /dev/null
+++ b/time-register.hpp
@@ -0,0 +1,17 @@
+#include <systemd/sd-bus.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+int getCurrTimeModeProperty(sd_bus*, const char*, const char*, const char*,
+ sd_bus_message*, void*, sd_bus_error*);
+int getCurrTimeOwnerProperty(sd_bus*, const char*, const char*, const char*,
+ sd_bus_message*, void*, sd_bus_error*);
+int getReqTimeModeProperty(sd_bus*, const char*, const char*, const char*,
+ sd_bus_message*, void*, sd_bus_error*);
+int getReqTimeOwnerProperty(sd_bus*, const char*, const char*, const char*,
+ sd_bus_message*, void*, sd_bus_error*);
+int GetTime(sd_bus_message*, void*, sd_bus_error*);
+int SetTime(sd_bus_message*, void*, sd_bus_error*);
+#ifdef __cplusplus
+};
+#endif