Conver hostapd specific files to include common.h
Instead of getting this via hostapd.h, include it as the first non-system header file in all source code files in the same way as used in all other files.
This commit is contained in:
parent
ea038e0da4
commit
4dbfe5c58a
22 changed files with 22 additions and 4 deletions
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "radius/radius.h"
|
#include "radius/radius.h"
|
||||||
#include "radius/radius_client.h"
|
#include "radius/radius_client.h"
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "ieee802_11.h"
|
#include "ieee802_11.h"
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
#ifndef CONFIG_NATIVE_WINDOWS
|
#ifndef CONFIG_NATIVE_WINDOWS
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "ieee802_11.h"
|
#include "ieee802_11.h"
|
||||||
#include "wpa.h"
|
#include "wpa.h"
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
#endif /* CONFIG_NATIVE_WINDOWS */
|
#endif /* CONFIG_NATIVE_WINDOWS */
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "drivers/driver.h"
|
#include "drivers/driver.h"
|
||||||
#include "sha1.h"
|
#include "sha1.h"
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "eloop.h"
|
#include "eloop.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "ieee802_1x.h"
|
#include "ieee802_1x.h"
|
||||||
#include "wpa.h"
|
#include "wpa.h"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "driver_i.h"
|
#include "driver_i.h"
|
||||||
#include "ieee802_11.h"
|
#include "ieee802_11.h"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "eloop.h"
|
#include "eloop.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "ieee802_1x.h"
|
#include "ieee802_1x.h"
|
||||||
|
|
|
@ -17,8 +17,6 @@
|
||||||
#ifndef HOSTAPD_H
|
#ifndef HOSTAPD_H
|
||||||
#define HOSTAPD_H
|
#define HOSTAPD_H
|
||||||
|
|
||||||
#include "common.h"
|
|
||||||
|
|
||||||
#define MAX_VLAN_ID 4094
|
#define MAX_VLAN_ID 4094
|
||||||
|
|
||||||
struct wpa_driver_ops;
|
struct wpa_driver_ops;
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "common/ieee802_11_defs.h"
|
#include "common/ieee802_11_defs.h"
|
||||||
#include "common/ieee802_11_common.h"
|
#include "common/ieee802_11_common.h"
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
#include <netpacket/packet.h>
|
#include <netpacket/packet.h>
|
||||||
#endif /* USE_KERNEL_HEADERS */
|
#endif /* USE_KERNEL_HEADERS */
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "ieee802_11.h"
|
#include "ieee802_11.h"
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "eloop.h"
|
#include "eloop.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "ieee802_11.h"
|
#include "ieee802_11.h"
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
#ifndef CONFIG_NATIVE_WINDOWS
|
#ifndef CONFIG_NATIVE_WINDOWS
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "ieee802_11.h"
|
#include "ieee802_11.h"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "ieee802_1x.h"
|
#include "ieee802_1x.h"
|
||||||
#include "accounting.h"
|
#include "accounting.h"
|
||||||
|
|
|
@ -17,8 +17,9 @@
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#endif /* CONFIG_NATIVE_WINDOWS */
|
#endif /* CONFIG_NATIVE_WINDOWS */
|
||||||
|
|
||||||
#include "eloop.h"
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
|
#include "eloop.h"
|
||||||
#include "common/version.h"
|
#include "common/version.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "tls.h"
|
#include "tls.h"
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
#include "hostapd.h"
|
#include "common.h"
|
||||||
#include "ieee802_11.h"
|
#include "ieee802_11.h"
|
||||||
#include "wpa.h"
|
#include "wpa.h"
|
||||||
#include "sta_flags.h"
|
#include "sta_flags.h"
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
#ifdef CONFIG_RSN_PREAUTH
|
#ifdef CONFIG_RSN_PREAUTH
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "l2_packet/l2_packet.h"
|
#include "l2_packet/l2_packet.h"
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "sta_flags.h"
|
#include "sta_flags.h"
|
||||||
#include "sta_info.h"
|
#include "sta_info.h"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "eloop.h"
|
#include "eloop.h"
|
||||||
#include "driver_i.h"
|
#include "driver_i.h"
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "driver_i.h"
|
#include "driver_i.h"
|
||||||
#include "vlan_init.h"
|
#include "vlan_init.h"
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "ieee802_11.h"
|
#include "ieee802_11.h"
|
||||||
#include "wme.h"
|
#include "wme.h"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
#include "hostapd.h"
|
#include "hostapd.h"
|
||||||
#include "driver_i.h"
|
#include "driver_i.h"
|
||||||
#include "eloop.h"
|
#include "eloop.h"
|
||||||
|
|
Loading…
Reference in a new issue