2 * EAP server method registration
3 * Copyright (c) 2004-2009, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
15 #ifndef EAP_SERVER_METHODS_H
16 #define EAP_SERVER_METHODS_H
18 #include "eap_common/eap_defs.h"
20 const struct eap_method
* eap_server_get_eap_method(int vendor
,
22 struct eap_method
* eap_server_method_alloc(int version
, int vendor
,
23 EapType method
, const char *name
);
24 void eap_server_method_free(struct eap_method
*method
);
25 int eap_server_method_register(struct eap_method
*method
);
27 EapType
eap_server_get_type(const char *name
, int *vendor
);
28 void eap_server_unregister_methods(void);
29 const char * eap_server_get_name(int vendor
, EapType type
);
31 /* EAP server method registration calls for statically linked in methods */
32 int eap_server_identity_register(void);
33 int eap_server_md5_register(void);
34 int eap_server_tls_register(void);
35 int eap_server_mschapv2_register(void);
36 int eap_server_peap_register(void);
37 int eap_server_tlv_register(void);
38 int eap_server_gtc_register(void);
39 int eap_server_ttls_register(void);
40 int eap_server_sim_register(void);
41 int eap_server_aka_register(void);
42 int eap_server_aka_prime_register(void);
43 int eap_server_pax_register(void);
44 int eap_server_psk_register(void);
45 int eap_server_sake_register(void);
46 int eap_server_gpsk_register(void);
47 int eap_server_vendor_test_register(void);
48 int eap_server_fast_register(void);
49 int eap_server_wsc_register(void);
50 int eap_server_ikev2_register(void);
51 int eap_server_tnc_register(void);
53 #endif /* EAP_SERVER_METHODS_H */