network: replace usage of sd_bus_call_method_async() to bus_call_method_async() (#24290)
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user