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 wpa_dbus_property_desc; 17 18 struct wpas_dbus_priv { 19 DBusConnection *con; 20 int should_dispatch; 21 struct wpa_global *global; 22 u32 next_objid; 23 int dbus_new_initialized; 24 25 #if defined(CONFIG_CTRL_IFACE_DBUS_NEW) 26 struct wpa_dbus_property_desc *all_interface_properties; 27 int globals_start; 28 #if defined(CONFIG_AP) 29 int dbus_noc_refcnt; 30 #endif /* CONFIG_AP */ 31 #endif /* CONFIG_CTRL_IFACE_DBUS_NEW */ 32 }; 33 34 #endif /* DBUS_COMMON_I_H */ 35