wpas_glue.h 888 B

12345678910111213141516171819202122232425262728
  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 software may be distributed under the terms of the BSD license.
  6. * See README for more details.
  7. */
  8. #ifndef WPAS_GLUE_H
  9. #define WPAS_GLUE_H
  10. enum wpa_ctrl_req_type;
  11. int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s);
  12. int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s);
  13. void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
  14. struct wpa_ssid *ssid);
  15. const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
  16. const char *default_txt,
  17. const char **txt);
  18. enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
  19. void wpas_send_ctrl_req(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
  20. const char *field_name, const char *txt);
  21. #endif /* WPAS_GLUE_H */