wpas_glue.h 984 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * WPA Supplicant - Glue code to setup EAPOL and RSN modules
  3. * Copyright (c) 2003-2008, 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. #ifndef WPAS_GLUE_H
  15. #define WPAS_GLUE_H
  16. enum wpa_ctrl_req_type;
  17. int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s);
  18. int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s);
  19. void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
  20. struct wpa_ssid *ssid);
  21. const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
  22. const char *default_txt,
  23. const char **txt);
  24. enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
  25. #endif /* WPAS_GLUE_H */