]> git.ipfire.org Git - thirdparty/hostap.git/blame - src/ap/iapp.h
Fix WPA/RSN IE update on reconfig with set_generic_elem()
[thirdparty/hostap.git] / src / ap / iapp.h
CommitLineData
6fc6879b
JM
1/*
2 * hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP)
3 * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 *
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
11 *
12 * See README and COPYING for more details.
13 */
14
15#ifndef IAPP_H
16#define IAPP_H
17
18struct iapp_data;
19
20#ifdef CONFIG_IAPP
21
22void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta);
23struct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface);
24void iapp_deinit(struct iapp_data *iapp);
6fc6879b
JM
25
26#else /* CONFIG_IAPP */
27
28static inline void iapp_new_station(struct iapp_data *iapp,
29 struct sta_info *sta)
30{
31}
32
33static inline struct iapp_data * iapp_init(struct hostapd_data *hapd,
34 const char *iface)
35{
36 return NULL;
37}
38
39static inline void iapp_deinit(struct iapp_data *iapp)
40{
41}
42
6fc6879b
JM
43#endif /* CONFIG_IAPP */
44
45#endif /* IAPP_H */