iapp.h 833 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 software may be distributed under the terms of the BSD license.
  6. * See README for more details.
  7. */
  8. #ifndef IAPP_H
  9. #define IAPP_H
  10. struct iapp_data;
  11. #ifdef CONFIG_IAPP
  12. void iapp_new_station(struct iapp_data *iapp, struct sta_info *sta);
  13. struct iapp_data * iapp_init(struct hostapd_data *hapd, const char *iface);
  14. void iapp_deinit(struct iapp_data *iapp);
  15. #else /* CONFIG_IAPP */
  16. static inline void iapp_new_station(struct iapp_data *iapp,
  17. struct sta_info *sta)
  18. {
  19. }
  20. static inline struct iapp_data * iapp_init(struct hostapd_data *hapd,
  21. const char *iface)
  22. {
  23. return NULL;
  24. }
  25. static inline void iapp_deinit(struct iapp_data *iapp)
  26. {
  27. }
  28. #endif /* CONFIG_IAPP */
  29. #endif /* IAPP_H */