dbus_common_i.h 863 B

12345678910111213141516171819202122232425262728293031323334
  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. #ifndef DBUS_COMMON_I_H
  11. #define DBUS_COMMON_I_H
  12. #include <dbus/dbus.h>
  13. struct wpa_dbus_property_desc;
  14. struct wpas_dbus_priv {
  15. DBusConnection *con;
  16. int should_dispatch;
  17. struct wpa_global *global;
  18. u32 next_objid;
  19. int dbus_new_initialized;
  20. #if defined(CONFIG_CTRL_IFACE_DBUS_NEW)
  21. struct wpa_dbus_property_desc *all_interface_properties;
  22. int globals_start;
  23. #if defined(CONFIG_AP)
  24. int dbus_noc_refcnt;
  25. #endif /* CONFIG_AP */
  26. #endif /* CONFIG_CTRL_IFACE_DBUS_NEW */
  27. };
  28. #endif /* DBUS_COMMON_I_H */