]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpas_glue.h
Use an enum for EAP SM requests
authorDan Williams <dcbw@redhat.com>
Mon, 24 Oct 2011 16:00:19 +0000 (11:00 -0500)
committerJouni Malinen <j@w1.fi>
Sun, 30 Oct 2011 10:04:24 +0000 (12:04 +0200)
commit9ef1aaae24f5587830248cb2b03abf5f3c491123
tree692396f55fbadaf8d4458f507fe4d2438d5036b6
parentaf72d17e72fe77001ade5aaea694ff7b851b2946
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>
src/common/defs.h
src/eap_peer/eap.c
src/eap_peer/eap.h
src/eapol_supp/eapol_supp_sm.c
src/eapol_supp/eapol_supp_sm.h
wpa_supplicant/wpas_glue.c
wpa_supplicant/wpas_glue.h