Remove src/common from default header file path

This makes it clearer which files are including header from src/common.
Some of these cases should probably be cleaned up in the future not to
do that.

In addition, src/common/nl80211_copy.h and wireless_copy.h were moved
into src/drivers since they are only used by driver wrappers and do not
need to live in src/common.
This commit is contained in:
Jouni Malinen 2009-11-29 17:51:55 +02:00
parent 6ae9318536
commit 90973fb2fd
82 changed files with 106 additions and 114 deletions

View file

@ -17,7 +17,7 @@
#define WPA_SUPPLICANT_DRIVER_VERSION 4
#include "defs.h"
#include "common/defs.h"
#define HOSTAPD_CHAN_DISABLED 0x00000001
#define HOSTAPD_CHAN_PASSIVE_SCAN 0x00000002

View file

@ -67,7 +67,7 @@
#include "l2_packet/l2_packet.h"
#include "../hostapd/wps_hostapd.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
struct madwifi_driver_data {

View file

@ -19,7 +19,7 @@
#include "common.h"
#include "driver.h"
#include "eloop.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
#include <net/if.h>

View file

@ -29,7 +29,7 @@
#include <netpacket/packet.h>
#include "priv_netlink.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
#include "../../hostapd/hostapd.h"
#include "../../hostapd/hw_features.h"
#include "../../hostapd/sta_flags.h"

View file

@ -26,7 +26,7 @@
#include "driver.h"
#include "driver_wext.h"
#include "eloop.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
#include "wireless_copy.h"
/*

View file

@ -40,7 +40,7 @@ int close(int fd);
#include "common.h"
#include "driver.h"
#include "eloop.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
#include "driver_ndis.h"
int wpa_driver_register_event_cb(struct wpa_driver_ndis_data *drv);

View file

@ -28,7 +28,7 @@
#include "common.h"
#include "driver.h"
#include "eloop.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
#if defined(CONFIG_AP) || defined(HOSTAPD)
#include <netpacket/packet.h>

View file

@ -14,7 +14,7 @@
#include "includes.h"
#include "../hostapd/hostapd.h"
#include "common.h"
#include "driver.h"

View file

@ -18,7 +18,7 @@
#include "common.h"
#include "driver.h"
#include "eloop.h"
#include "privsep_commands.h"
#include "common/privsep_commands.h"
struct wpa_driver_privsep_data {

View file

@ -16,11 +16,11 @@
#include <sys/ioctl.h>
#include "wireless_copy.h"
#include "common.h"
#include "wpa_common.h"
#include "common/wpa_common.h"
#include "driver.h"
#include "eloop.h"
#include "driver_wext.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
static int wpa_driver_ps3_set_wpa_key(struct wpa_driver_wext_data *drv,
struct wpa_driver_associate_params *params)

View file

@ -22,7 +22,7 @@
#include "driver.h"
#include "l2_packet/l2_packet.h"
#include "eloop.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
#include "priv_netlink.h"
#include "driver_ralink.h"

View file

@ -32,7 +32,7 @@
#include "l2_packet/l2_packet.h"
#include "eloop.h"
#include "sha1.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
#include "../../hostapd/hostapd.h"
#include "../../hostapd/wpa.h"

View file

@ -28,8 +28,8 @@
#include "eloop.h"
#include "priv_netlink.h"
#include "driver_wext.h"
#include "ieee802_11_defs.h"
#include "wpa_common.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_common.h"
static int wpa_driver_wext_flush_pmkid(void *priv);

View file

@ -16,7 +16,7 @@
#include "common.h"
#include "drivers/driver.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
const u8 * wpa_scan_get_ie(const struct wpa_scan_res *res, u8 ie)

View file

@ -29,7 +29,7 @@
#include "tls.h"
#include "crypto.h"
#include "pcsc_funcs.h"
#include "wpa_ctrl.h"
#include "common/wpa_ctrl.h"
#include "state_machine.h"
#include "eap_common/eap_wsc_common.h"

View file

@ -15,7 +15,7 @@
#ifndef EAP_H
#define EAP_H
#include "defs.h"
#include "common/defs.h"
#include "eap_common/eap_defs.h"
#include "eap_peer/eap_methods.h"

View file

@ -25,7 +25,7 @@
#include "eap_i.h"
#include "eap_config.h"
#include "ms_funcs.h"
#include "wpa_ctrl.h"
#include "common/wpa_ctrl.h"
#include "mschapv2.h"

View file

@ -15,7 +15,7 @@
#ifndef EAP_H
#define EAP_H
#include "defs.h"
#include "common/defs.h"
#include "eap_common/eap_defs.h"
#include "eap_server/eap_methods.h"
#include "wpabuf.h"

View file

@ -18,7 +18,7 @@
#include "eapol_supp_sm.h"
#include "eap_peer/eap.h"
#include "eloop.h"
#include "eapol_common.h"
#include "common/eapol_common.h"
#include "md5.h"
#include "crypto.h"
#include "state_machine.h"

View file

@ -15,7 +15,7 @@
#ifndef EAPOL_SUPP_SM_H
#define EAPOL_SUPP_SM_H
#include "defs.h"
#include "common/defs.h"
typedef enum { Unauthorized, Authorized } PortStatus;
typedef enum { Auto, ForceUnauthorized, ForceAuthorized } PortControl;

View file

@ -18,7 +18,7 @@
#include "common.h"
#include "eloop.h"
#include "l2_packet.h"
#include "privsep_commands.h"
#include "common/privsep_commands.h"
struct l2_packet_data {

View file

@ -18,7 +18,6 @@
#include "common.h"
#include "radius.h"
#include "eloop.h"
#include "defs.h"
#include "eap_server/eap.h"
#include "radius_server.h"

View file

@ -23,7 +23,7 @@
#include "wpa.h"
#include "wpa_i.h"
#include "wpa_ie.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
#include "peerkey.h"

View file

@ -22,7 +22,7 @@
#include "preauth.h"
#include "pmksa_cache.h"
#include "wpa_i.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
#if defined(IEEE8021X_EAPOL) && !defined(CONFIG_NO_WPA2)

View file

@ -25,7 +25,7 @@
#include "wpa_i.h"
#include "wpa_ie.h"
#include "peerkey.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
/**

View file

@ -15,9 +15,9 @@
#ifndef WPA_H
#define WPA_H
#include "defs.h"
#include "eapol_common.h"
#include "wpa_common.h"
#include "common/defs.h"
#include "common/eapol_common.h"
#include "common/wpa_common.h"
struct wpa_sm;
struct eapol_sm;

View file

@ -19,8 +19,8 @@
#include "wpa_i.h"
#include "wpa_ie.h"
#include "aes_wrap.h"
#include "ieee802_11_defs.h"
#include "ieee802_11_common.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#ifdef CONFIG_IEEE80211R

View file

@ -17,7 +17,7 @@
#include "common.h"
#include "wpa.h"
#include "pmksa_cache.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
#include "wpa_i.h"
#include "wpa_ie.h"

View file

@ -18,7 +18,7 @@
#include "dh_group5.h"
#include "wps_i.h"
#include "wps_dev_attr.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
/**

View file

@ -17,7 +17,7 @@
#include "common.h"
#include "sha256.h"
#include "base64.h"
#include "ieee802_11_defs.h"
#include "common/ieee802_11_defs.h"
#include "eloop.h"
#include "wps_i.h"
#include "wps_dev_attr.h"