xref: /freebsd/contrib/wpa/wpa_supplicant/wpas_glue.h (revision 3f0164abf32b9b761e0a2cb4bdca3a8b84f156d4)
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 
9 #ifndef WPAS_GLUE_H
10 #define WPAS_GLUE_H
11 
12 enum wpa_ctrl_req_type;
13 
14 int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s);
15 int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s);
16 void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
17 					struct wpa_ssid *ssid);
18 
19 const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
20 					       const char *default_txt,
21 					       const char **txt);
22 
23 enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field);
24 
25 #endif /* WPAS_GLUE_H */
26