mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +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;
|
static struct l_dbus *dbus = NULL;
|
||||||
|
|
||||||
|
struct l_dbus *dbus_get(void)
|
||||||
|
{
|
||||||
|
return dbus;
|
||||||
|
}
|
||||||
|
|
||||||
struct dbus_info {
|
struct dbus_info {
|
||||||
char *name;
|
char *name;
|
||||||
dbus_ready_func_t ready_func;
|
dbus_ready_func_t ready_func;
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
enum l_dbus_bus;
|
enum l_dbus_bus;
|
||||||
struct l_dbus;
|
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_ready_func_t) (struct l_dbus *dbus, void *user_data);
|
||||||
typedef void (*dbus_shutdown_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