aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/ctrl_iface.h
diff options
context:
space:
mode:
authorShan Palanisamy <shanp@qca.qualcomm.com>2011-12-20 15:10:47 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-25 10:47:24 (GMT)
commitc90fd485141fd5e713684cfb385c557a618fa70d (patch)
tree4cccb0af4747fecb2b068d4925564d1cdb4b902b /hostapd/ctrl_iface.h
parent3776ac73b28f988db4bbb6c7e61e9ad8b28cd15e (diff)
downloadhostap-c90fd485141fd5e713684cfb385c557a618fa70d.zip
hostap-c90fd485141fd5e713684cfb385c557a618fa70d.tar.gz
hostap-c90fd485141fd5e713684cfb385c557a618fa70d.tar.bz2
hostapd: Add global control interface
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd/ctrl_iface.h')
-rw-r--r--hostapd/ctrl_iface.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/hostapd/ctrl_iface.h b/hostapd/ctrl_iface.h
index 64a5080..3341a66 100644
--- a/hostapd/ctrl_iface.h
+++ b/hostapd/ctrl_iface.h
@@ -12,6 +12,8 @@
#ifndef CONFIG_NO_CTRL_IFACE
int hostapd_ctrl_iface_init(struct hostapd_data *hapd);
void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd);
+int hostapd_global_ctrl_iface_init(struct hapd_interfaces *interface);
+void hostapd_global_ctrl_iface_deinit(struct hapd_interfaces *interface);
#else /* CONFIG_NO_CTRL_IFACE */
static inline int hostapd_ctrl_iface_init(struct hostapd_data *hapd)
{
@@ -21,6 +23,17 @@ static inline int hostapd_ctrl_iface_init(struct hostapd_data *hapd)
static inline void hostapd_ctrl_iface_deinit(struct hostapd_data *hapd)
{
}
+
+static inline int
+hostapd_global_ctrl_iface_init(struct hapd_interfaces *interface)
+{
+ return 0;
+}
+
+static inline void
+hostapd_global_ctrl_iface_deinit(struct hapd_interfaces *interface)
+{
+}
#endif /* CONFIG_NO_CTRL_IFACE */
#endif /* CTRL_IFACE_H */