26e054ce6b
This fixes a crash on error path when D-Bus initialization fails.
30 lines
823 B
C
30 lines
823 B
C
/*
|
|
* wpa_supplicant D-Bus control interface - internal definitions
|
|
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
|
|
* Copyright (c) 2009, Witold Sowa <witold.sowa@gmail.com>
|
|
* Copyright (c) 2009, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
* license.
|
|
*
|
|
* See README and COPYING for more details.
|
|
*/
|
|
|
|
#ifndef DBUS_COMMON_I_H
|
|
#define DBUS_COMMON_I_H
|
|
|
|
#include <dbus/dbus.h>
|
|
|
|
struct wpas_dbus_priv {
|
|
DBusConnection *con;
|
|
int should_dispatch;
|
|
struct wpa_global *global;
|
|
u32 next_objid;
|
|
int dbus_new_initialized;
|
|
};
|
|
|
|
#endif /* DBUS_COMMON_I_H */
|