chiark / gitweb /
timesync,shared: move logic requesting bus name to shared
[elogind.git] / src / shared / bus-util.h
index db1ce42804aa99394e39b5e818f6c000ef30adda..4c38469693f50b0ed4c5f2ae0838e2ee18cbadf2 100644 (file)
@@ -202,3 +202,5 @@ int bus_open_system_watch_bind_with_description(sd_bus **ret, const char *descri
 static inline int bus_open_system_watch_bind(sd_bus **ret) {
         return bus_open_system_watch_bind_with_description(ret, NULL);
 }
+
+int bus_request_name_async_may_reload_dbus(sd_bus *bus, sd_bus_slot **ret_slot, const char *name, uint64_t flags, void *userdata);