blob: c22118342af448f23632fbd9e6a40c9fbb3603ef [file] [log] [blame]
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07001/*
2 * hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP)
3 * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
4 *
Dmitry Shmidtc5ec7f52012-03-06 16:33:24 -08005 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
Dmitry Shmidt8d520ff2011-05-09 14:06:53 -07007 */
8
9#ifndef IAPP_H
10#define IAPP_H
11
12struct iapp_data;
13
14#ifdef CONFIG_IAPP
15
16void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta);
17struct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface);
18void iapp_deinit(struct iapp_data *iapp);
19
20#else /* CONFIG_IAPP */
21
22static inline void iapp_new_station(struct iapp_data *iapp,
23 struct sta_info *sta)
24{
25}
26
27static inline struct iapp_data * iapp_init(struct hostapd_data *hapd,
28 const char *iface)
29{
30 return NULL;
31}
32
33static inline void iapp_deinit(struct iapp_data *iapp)
34{
35}
36
37#endif /* CONFIG_IAPP */
38
39#endif /* IAPP_H */