1214501Srpaulo/* 2214501Srpaulo * hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP) 3214501Srpaulo * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi> 4214501Srpaulo * 5214501Srpaulo * This program is free software; you can redistribute it and/or modify 6214501Srpaulo * it under the terms of the GNU General Public License version 2 as 7214501Srpaulo * published by the Free Software Foundation. 8214501Srpaulo * 9214501Srpaulo * Alternatively, this software may be distributed under the terms of BSD 10214501Srpaulo * license. 11214501Srpaulo * 12214501Srpaulo * See README and COPYING for more details. 13214501Srpaulo */ 14214501Srpaulo 15214501Srpaulo#ifndef IAPP_H 16214501Srpaulo#define IAPP_H 17214501Srpaulo 18214501Srpaulostruct iapp_data; 19214501Srpaulo 20214501Srpaulo#ifdef CONFIG_IAPP 21214501Srpaulo 22214501Srpaulovoid iapp_new_station(struct iapp_data *iapp, struct sta_info *sta); 23214501Srpaulostruct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface); 24214501Srpaulovoid iapp_deinit(struct iapp_data *iapp); 25214501Srpaulo 26214501Srpaulo#else /* CONFIG_IAPP */ 27214501Srpaulo 28214501Srpaulostatic inline void iapp_new_station(struct iapp_data *iapp, 29214501Srpaulo struct sta_info *sta) 30214501Srpaulo{ 31214501Srpaulo} 32214501Srpaulo 33214501Srpaulostatic inline struct iapp_data * iapp_init(struct hostapd_data *hapd, 34214501Srpaulo const char *iface) 35214501Srpaulo{ 36214501Srpaulo return NULL; 37214501Srpaulo} 38214501Srpaulo 39214501Srpaulostatic inline void iapp_deinit(struct iapp_data *iapp) 40214501Srpaulo{ 41214501Srpaulo} 42214501Srpaulo 43214501Srpaulo#endif /* CONFIG_IAPP */ 44214501Srpaulo 45214501Srpaulo#endif /* IAPP_H */ 46