1214501Srpaulo/*
2214501Srpaulo * wpa_supplicant D-Bus control interface - internal definitions
3214501Srpaulo * Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
4214501Srpaulo * Copyright (c) 2009, Witold Sowa <witold.sowa@gmail.com>
5214501Srpaulo * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
6214501Srpaulo *
7252190Srpaulo * This software may be distributed under the terms of the BSD license.
8252190Srpaulo * See README for more details.
9214501Srpaulo */
10214501Srpaulo
11214501Srpaulo#ifndef DBUS_COMMON_I_H
12214501Srpaulo#define DBUS_COMMON_I_H
13214501Srpaulo
14214501Srpaulo#include <dbus/dbus.h>
15214501Srpaulo
16214501Srpaulostruct wpas_dbus_priv {
17214501Srpaulo	DBusConnection *con;
18214501Srpaulo	int should_dispatch;
19214501Srpaulo	struct wpa_global *global;
20214501Srpaulo	u32 next_objid;
21214501Srpaulo	int dbus_new_initialized;
22252190Srpaulo
23252190Srpaulo#if defined(CONFIG_CTRL_IFACE_DBUS_NEW) && defined(CONFIG_AP)
24252190Srpaulo	int dbus_noc_refcnt;
25252190Srpaulo#endif /* CONFIG_CTRL_IFACE_DBUS_NEW && CONFIG_AP */
26214501Srpaulo};
27214501Srpaulo
28214501Srpaulo#endif /* DBUS_COMMON_I_H */
29