xref: /freebsd/contrib/wpa/wpa_supplicant/dbus/dbus_common_i.h (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1 /*
2  * wpa_supplicant D-Bus control interface - internal definitions
3  * Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
4  * Copyright (c) 2009, Witold Sowa <witold.sowa@gmail.com>
5  * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
6  *
7  * This software may be distributed under the terms of the BSD license.
8  * See README for more details.
9  */
10 
11 #ifndef DBUS_COMMON_I_H
12 #define DBUS_COMMON_I_H
13 
14 #include <dbus/dbus.h>
15 
16 struct wpas_dbus_priv {
17 	DBusConnection *con;
18 	int should_dispatch;
19 	struct wpa_global *global;
20 	u32 next_objid;
21 	int dbus_new_initialized;
22 
23 #if defined(CONFIG_CTRL_IFACE_DBUS_NEW) && defined(CONFIG_AP)
24 	int dbus_noc_refcnt;
25 #endif /* CONFIG_CTRL_IFACE_DBUS_NEW && CONFIG_AP */
26 };
27 
28 #endif /* DBUS_COMMON_I_H */
29