network: replace usage of sd_bus_call_method_async() to bus_call_method_async() (#24290)

This commit is contained in:
williamsumendap
2022-08-13 03:28:29 +09:00
committed by GitHub
parent 9d9bc6fc57
commit d277530616
4 changed files with 12 additions and 8 deletions
+6
View File
@@ -63,6 +63,12 @@ const BusLocator* const bus_timedate = &(BusLocator){
.interface = "org.freedesktop.timedate1"
};
const BusLocator* const bus_hostname = &(BusLocator){
.destination = "org.freedesktop.hostname1",
.path = "/org/freedesktop/hostname1",
.interface = "org.freedesktop.hostname1"
};
/* Shorthand flavors of the sd-bus convenience helpers with destination,path,interface strings encapsulated
* within a single struct. */
int bus_call_method_async(
+1
View File
@@ -19,6 +19,7 @@ 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_hostname;
/* Shorthand flavors of the sd-bus convenience helpers with destination,path,interface strings encapsulated
* within a single struct. */