Include driver.h in hostapd.h

This allows use of structs (and not only pointers) defined in drivers.h.
Remove also some not needed forward declarations and redundant includes.

Signed-hostap: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
This commit is contained in:
Andrei Otcheretianski 2013-12-15 10:47:40 +02:00 committed by Jouni Malinen
parent a12d34546a
commit 13daed58c7
12 changed files with 1 additions and 15 deletions

View file

@ -11,14 +11,13 @@
#include "common/defs.h"
#include "ap_config.h"
#include "drivers/driver.h"
struct wpa_driver_ops;
struct wpa_ctrl_dst;
struct radius_server_data;
struct upnp_wps_device_sm;
struct hostapd_data;
struct sta_info;
struct hostap_sta_driver_data;
struct ieee80211_ht_capabilities;
struct full_dynamic_vlan;
enum wps_event;
@ -27,8 +26,6 @@ union wps_event_data;
struct hostapd_iface;
struct hostapd_dynamic_iface;
struct csa_settings;
struct hapd_interfaces {
int (*reload_config)(struct hostapd_iface *iface);
struct hostapd_config * (*config_read_cb)(const char *config_fname);