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