xref: /freebsd/contrib/wpa/src/eap_server/eap_methods.h (revision 02e9120893770924227138ba49df1edb3896112a)
1 /*
2  * EAP server method registration
3  * Copyright (c) 2004-2009, 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 EAP_SERVER_METHODS_H
10 #define EAP_SERVER_METHODS_H
11 
12 #include "eap_common/eap_defs.h"
13 
14 const struct eap_method * eap_server_get_eap_method(int vendor,
15 						    enum eap_type method);
16 struct eap_method * eap_server_method_alloc(int version, int vendor,
17 					    enum eap_type method,
18 					    const char *name);
19 int eap_server_method_register(struct eap_method *method);
20 
21 enum eap_type eap_server_get_type(const char *name, int *vendor);
22 void eap_server_unregister_methods(void);
23 const char * eap_server_get_name(int vendor, enum eap_type type);
24 
25 /* EAP server method registration calls for statically linked in methods */
26 int eap_server_identity_register(void);
27 int eap_server_md5_register(void);
28 int eap_server_tls_register(void);
29 int eap_server_unauth_tls_register(void);
30 int eap_server_wfa_unauth_tls_register(void);
31 int eap_server_mschapv2_register(void);
32 int eap_server_peap_register(void);
33 int eap_server_tlv_register(void);
34 int eap_server_gtc_register(void);
35 int eap_server_ttls_register(void);
36 int eap_server_sim_register(void);
37 int eap_server_aka_register(void);
38 int eap_server_aka_prime_register(void);
39 int eap_server_pax_register(void);
40 int eap_server_psk_register(void);
41 int eap_server_sake_register(void);
42 int eap_server_gpsk_register(void);
43 int eap_server_vendor_test_register(void);
44 int eap_server_fast_register(void);
45 int eap_server_teap_register(void);
46 int eap_server_wsc_register(void);
47 int eap_server_ikev2_register(void);
48 int eap_server_tnc_register(void);
49 int eap_server_pwd_register(void);
50 int eap_server_eke_register(void);
51 
52 #endif /* EAP_SERVER_METHODS_H */
53