iapp.h revision 214501
10SN/A/* 29660SN/A * hostapd / IEEE 802.11F-2003 Inter-Access Point Protocol (IAPP) 30SN/A * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi> 40SN/A * 50SN/A * This program is free software; you can redistribute it and/or modify 60SN/A * it under the terms of the GNU General Public License version 2 as 72362SN/A * published by the Free Software Foundation. 80SN/A * 92362SN/A * Alternatively, this software may be distributed under the terms of BSD 100SN/A * license. 110SN/A * 120SN/A * See README and COPYING for more details. 130SN/A */ 140SN/A 150SN/A#ifndef IAPP_H 160SN/A#define IAPP_H 170SN/A 180SN/Astruct iapp_data; 190SN/A 200SN/A#ifdef CONFIG_IAPP 212362SN/A 222362SN/Avoid iapp_new_station(struct iapp_data *iapp, struct sta_info *sta); 232362SN/Astruct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface); 240SN/Avoid iapp_deinit(struct iapp_data *iapp); 250SN/A 260SN/A#else /* CONFIG_IAPP */ 270SN/A 280SN/Astatic inline void iapp_new_station(struct iapp_data *iapp, 290SN/A struct sta_info *sta) 300SN/A{ 310SN/A} 320SN/A 330SN/Astatic inline struct iapp_data * iapp_init(struct hostapd_data *hapd, 340SN/A const char *iface) 350SN/A{ 360SN/A return NULL; 370SN/A} 380SN/A 390SN/Astatic inline void iapp_deinit(struct iapp_data *iapp) 400SN/A{ 410SN/A} 420SN/A 430SN/A#endif /* CONFIG_IAPP */ 440SN/A 450SN/A#endif /* IAPP_H */ 460SN/A