mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
wired: Add accessor for bus connection object
This commit is contained in:
parent
a924de37c3
commit
8bc97d7caa
@ -30,6 +30,11 @@
|
||||
|
||||
static struct l_dbus *dbus = NULL;
|
||||
|
||||
struct l_dbus *dbus_get(void)
|
||||
{
|
||||
return dbus;
|
||||
}
|
||||
|
||||
struct dbus_info {
|
||||
char *name;
|
||||
dbus_ready_func_t ready_func;
|
||||
|
@ -23,6 +23,8 @@
|
||||
enum l_dbus_bus;
|
||||
struct l_dbus;
|
||||
|
||||
struct l_dbus *dbus_get(void);
|
||||
|
||||
typedef void (*dbus_ready_func_t) (struct l_dbus *dbus, void *user_data);
|
||||
typedef void (*dbus_shutdown_func_t) (struct l_dbus *dbus, void *user_data);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user