aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpas_glue.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-10-24 11:00:19 -0500
committerJouni Malinen <j@w1.fi>2011-10-30 12:04:24 +0200
commit9ef1aaae24f5587830248cb2b03abf5f3c491123 (patch)
tree692396f55fbadaf8d4458f507fe4d2438d5036b6 /wpa_supplicant/wpas_glue.h
parentaf72d17e72fe77001ade5aaea694ff7b851b2946 (diff)
downloadexternal_wpa_supplicant_8_ti-9ef1aaae24f5587830248cb2b03abf5f3c491123.zip
external_wpa_supplicant_8_ti-9ef1aaae24f5587830248cb2b03abf5f3c491123.tar.gz
external_wpa_supplicant_8_ti-9ef1aaae24f5587830248cb2b03abf5f3c491123.tar.bz2
Use an enum for EAP SM requests
Control requests will be extended for non-EAP uses later, so it makes sense to have them be generic. Furthermore, having them defined as an enum is easier for processing internally, and more generic for control interfaces that may not use field names. The public ctrl_req_type / field_name conversion function will be used later by the D-Bus control interface too. Signed-off-by: Dan Williams <dcbw@redhat.com>
Diffstat (limited to 'wpa_supplicant/wpas_glue.h')
-rw-r--r--wpa_supplicant/wpas_glue.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/wpas_glue.h b/wpa_supplicant/wpas_glue.h
index b571e4d..563eb7b 100644
--- a/wpa_supplicant/wpas_glue.h
+++ b/wpa_supplicant/wpas_glue.h
@@ -20,4 +20,8 @@ int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s);
void wpa_supplicant_rsn_supp_set_config(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid);
+const char * wpa_supplicant_ctrl_req_to_string(enum wpa_ctrl_req_type field,
+ const char *default_txt,
+ const char **txt);
+
#endif /* WPAS_GLUE_H */