aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/iapp.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-25 11:04:45 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-25 11:04:45 (GMT)
commitad44e244b18806c977c93b7f926b0190f95874d1 (patch)
tree3cc24c38218932298e8522f0836093a1578d4547 /src/ap/iapp.h
parent0e2d35c6145d3fd353b86362d2d3eec45efaf2af (diff)
downloadhostap-ad44e244b18806c977c93b7f926b0190f95874d1.zip
hostap-ad44e244b18806c977c93b7f926b0190f95874d1.tar.gz
hostap-ad44e244b18806c977c93b7f926b0190f95874d1.tar.bz2
Move iapp.c into src/ap
Diffstat (limited to 'src/ap/iapp.h')
-rw-r--r--src/ap/iapp.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/ap/iapp.h b/src/ap/iapp.h
new file mode 100644
index 0000000..5fc01cb
--- /dev/null
+++ b/src/ap/iapp.h
@@ -0,0 +1,45 @@
+/*
+ * hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP)
+ * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
+#ifndef IAPP_H
+#define IAPP_H
+
+struct iapp_data;
+
+#ifdef CONFIG_IAPP
+
+void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta);
+struct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface);
+void iapp_deinit(struct iapp_data *iapp);
+
+#else /* CONFIG_IAPP */
+
+static inline void iapp_new_station(struct iapp_data *iapp,
+ struct sta_info *sta)
+{
+}
+
+static inline struct iapp_data * iapp_init(struct hostapd_data *hapd,
+ const char *iface)
+{
+ return NULL;
+}
+
+static inline void iapp_deinit(struct iapp_data *iapp)
+{
+}
+
+#endif /* CONFIG_IAPP */
+
+#endif /* IAPP_H */