xref: /dflybsd-src/contrib/wpa_supplicant/src/eap_server/eap_methods.h (revision 3a84a4273475ed07d0ab1c2dfeffdfedef35d9cd)
16d49e1aeSJan Lentfer /*
23ff40c12SJohn Marino  * EAP server method registration
33ff40c12SJohn Marino  * Copyright (c) 2004-2009, Jouni Malinen <j@w1.fi>
46d49e1aeSJan Lentfer  *
53ff40c12SJohn Marino  * This software may be distributed under the terms of the BSD license.
63ff40c12SJohn Marino  * See README for more details.
76d49e1aeSJan Lentfer  */
86d49e1aeSJan Lentfer 
93ff40c12SJohn Marino #ifndef EAP_SERVER_METHODS_H
103ff40c12SJohn Marino #define EAP_SERVER_METHODS_H
113ff40c12SJohn Marino 
123ff40c12SJohn Marino #include "eap_common/eap_defs.h"
136d49e1aeSJan Lentfer 
146d49e1aeSJan Lentfer const struct eap_method * eap_server_get_eap_method(int vendor,
156d49e1aeSJan Lentfer 						    EapType method);
166d49e1aeSJan Lentfer struct eap_method * eap_server_method_alloc(int version, int vendor,
176d49e1aeSJan Lentfer 					    EapType method, const char *name);
186d49e1aeSJan Lentfer int eap_server_method_register(struct eap_method *method);
196d49e1aeSJan Lentfer 
206d49e1aeSJan Lentfer EapType eap_server_get_type(const char *name, int *vendor);
216d49e1aeSJan Lentfer void eap_server_unregister_methods(void);
223ff40c12SJohn Marino const char * eap_server_get_name(int vendor, EapType type);
236d49e1aeSJan Lentfer 
243ff40c12SJohn Marino /* EAP server method registration calls for statically linked in methods */
253ff40c12SJohn Marino int eap_server_identity_register(void);
263ff40c12SJohn Marino int eap_server_md5_register(void);
273ff40c12SJohn Marino int eap_server_tls_register(void);
283ff40c12SJohn Marino int eap_server_unauth_tls_register(void);
29*a1157835SDaniel Fojt int eap_server_wfa_unauth_tls_register(void);
303ff40c12SJohn Marino int eap_server_mschapv2_register(void);
313ff40c12SJohn Marino int eap_server_peap_register(void);
323ff40c12SJohn Marino int eap_server_tlv_register(void);
333ff40c12SJohn Marino int eap_server_gtc_register(void);
343ff40c12SJohn Marino int eap_server_ttls_register(void);
353ff40c12SJohn Marino int eap_server_sim_register(void);
363ff40c12SJohn Marino int eap_server_aka_register(void);
373ff40c12SJohn Marino int eap_server_aka_prime_register(void);
383ff40c12SJohn Marino int eap_server_pax_register(void);
393ff40c12SJohn Marino int eap_server_psk_register(void);
403ff40c12SJohn Marino int eap_server_sake_register(void);
413ff40c12SJohn Marino int eap_server_gpsk_register(void);
423ff40c12SJohn Marino int eap_server_vendor_test_register(void);
433ff40c12SJohn Marino int eap_server_fast_register(void);
44*a1157835SDaniel Fojt int eap_server_teap_register(void);
453ff40c12SJohn Marino int eap_server_wsc_register(void);
463ff40c12SJohn Marino int eap_server_ikev2_register(void);
473ff40c12SJohn Marino int eap_server_tnc_register(void);
483ff40c12SJohn Marino int eap_server_pwd_register(void);
493ff40c12SJohn Marino int eap_server_eke_register(void);
503ff40c12SJohn Marino 
513ff40c12SJohn Marino #endif /* EAP_SERVER_METHODS_H */
52