aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hostapd.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-02-16 19:46:27 +0200
committerJouni Malinen <j@w1.fi>2012-02-16 19:46:27 +0200
commit07bcdbb150bfd41acb271198e1babe5a9df93204 (patch)
treead74b5cb6c85499581743a40b915786a453f285e /src/ap/hostapd.h
parent9e7d033ef4a17b25af5e9798c2edfc9a95a4829a (diff)
downloadexternal_wpa_supplicant_8_ti-07bcdbb150bfd41acb271198e1babe5a9df93204.zip
external_wpa_supplicant_8_ti-07bcdbb150bfd41acb271198e1babe5a9df93204.tar.gz
external_wpa_supplicant_8_ti-07bcdbb150bfd41acb271198e1babe5a9df93204.tar.bz2
Move hostapd_for_each_interface() and hapd_interfaces into src/ap
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/hostapd.h')
-rw-r--r--src/ap/hostapd.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ap/hostapd.h b/src/ap/hostapd.h
index bc28805..fb0de31 100644
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
@@ -15,7 +15,6 @@ struct wpa_driver_ops;
struct wpa_ctrl_dst;
struct radius_server_data;
struct upnp_wps_device_sm;
-struct hapd_interfaces;
struct hostapd_data;
struct sta_info;
struct hostap_sta_driver_data;
@@ -24,6 +23,12 @@ struct full_dynamic_vlan;
enum wps_event;
union wps_event_data;
+struct hapd_interfaces {
+ size_t count;
+ struct hostapd_iface **iface;
+};
+
+
struct hostapd_probereq_cb {
int (*cb)(void *ctx, const u8 *sa, const u8 *da, const u8 *bssid,
const u8 *ie, size_t ie_len);
@@ -242,6 +247,9 @@ struct hostapd_iface {
};
/* hostapd.c */
+int hostapd_for_each_interface(struct hapd_interfaces *interfaces,
+ int (*cb)(struct hostapd_iface *iface,
+ void *ctx), void *ctx);
int hostapd_reload_config(struct hostapd_iface *iface);
struct hostapd_data *
hostapd_alloc_bss_data(struct hostapd_iface *hapd_iface,