mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 23:20:32 +00:00
bus-locator: declare bus locator for oom1 and timesync1
This commit is contained in:
@@ -39,6 +39,12 @@ const BusLocator* const bus_network_mgr = &(BusLocator){
|
||||
.interface = "org.freedesktop.network1.Manager"
|
||||
};
|
||||
|
||||
const BusLocator* const bus_oom_mgr = &(BusLocator){
|
||||
.destination = "org.freedesktop.oom1",
|
||||
.path = "/org/freedesktop/oom1",
|
||||
.interface = "org.freedesktop.oom1.Manager"
|
||||
};
|
||||
|
||||
const BusLocator* const bus_portable_mgr = &(BusLocator){
|
||||
.destination = "org.freedesktop.portable1",
|
||||
.path = "/org/freedesktop/portable1",
|
||||
@@ -63,6 +69,12 @@ const BusLocator* const bus_timedate = &(BusLocator){
|
||||
.interface = "org.freedesktop.timedate1"
|
||||
};
|
||||
|
||||
const BusLocator* const bus_timesync_mgr = &(BusLocator){
|
||||
.destination = "org.freedesktop.timesync1",
|
||||
.path = "/org/freedesktop/timesync1",
|
||||
.interface = "org.freedesktop.timesync1.Manager"
|
||||
};
|
||||
|
||||
const BusLocator* const bus_hostname = &(BusLocator){
|
||||
.destination = "org.freedesktop.hostname1",
|
||||
.path = "/org/freedesktop/hostname1",
|
||||
|
||||
@@ -15,10 +15,12 @@ extern const BusLocator* const bus_locale;
|
||||
extern const BusLocator* const bus_login_mgr;
|
||||
extern const BusLocator* const bus_machine_mgr;
|
||||
extern const BusLocator* const bus_network_mgr;
|
||||
extern const BusLocator* const bus_oom_mgr;
|
||||
extern const BusLocator* const bus_portable_mgr;
|
||||
extern const BusLocator* const bus_resolve_mgr;
|
||||
extern const BusLocator* const bus_systemd_mgr;
|
||||
extern const BusLocator* const bus_timedate;
|
||||
extern const BusLocator* const bus_timesync_mgr;
|
||||
extern const BusLocator* const bus_hostname;
|
||||
|
||||
/* Shorthand flavors of the sd-bus convenience helpers with destination,path,interface strings encapsulated
|
||||
|
||||
Reference in New Issue
Block a user