dbus_common_i.h 742 B

12345678910111213141516171819202122232425262728
  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 wpas_dbus_priv {
  14. DBusConnection *con;
  15. int should_dispatch;
  16. struct wpa_global *global;
  17. u32 next_objid;
  18. int dbus_new_initialized;
  19. #if defined(CONFIG_CTRL_IFACE_DBUS_NEW) && defined(CONFIG_AP)
  20. int dbus_noc_refcnt;
  21. #endif /* CONFIG_CTRL_IFACE_DBUS_NEW && CONFIG_AP */
  22. };
  23. #endif /* DBUS_COMMON_I_H */