00001 /* 00002 * EAP server method registration 00003 * Copyright (c) 2004-2009, Jouni Malinen <j@w1.fi> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License version 2 as 00007 * published by the Free Software Foundation. 00008 * 00009 * Alternatively, this software may be distributed under the terms of BSD 00010 * license. 00011 * 00012 * See README and COPYING for more details. 00013 */ 00014 00015 #ifndef EAP_SERVER_METHODS_H 00016 #define EAP_SERVER_METHODS_H 00017 00018 #include "eap_common/eap_defs.h" 00019 00020 const struct eap_method * eap_server_get_eap_method(int vendor, 00021 EapType method); 00022 struct eap_method * eap_server_method_alloc(int version, int vendor, 00023 EapType method, const char *name); 00024 void eap_server_method_free(struct eap_method *method); 00025 int eap_server_method_register(struct eap_method *method); 00026 00027 EapType eap_server_get_type(const char *name, int *vendor); 00028 void eap_server_unregister_methods(void); 00029 const char * eap_server_get_name(int vendor, EapType type); 00030 00031 /* EAP server method registration calls for statically linked in methods */ 00032 int eap_server_identity_register(void); 00033 int eap_server_md5_register(void); 00034 int eap_server_tls_register(void); 00035 int eap_server_mschapv2_register(void); 00036 int eap_server_peap_register(void); 00037 int eap_server_tlv_register(void); 00038 int eap_server_gtc_register(void); 00039 int eap_server_ttls_register(void); 00040 int eap_server_sim_register(void); 00041 int eap_server_aka_register(void); 00042 int eap_server_aka_prime_register(void); 00043 int eap_server_pax_register(void); 00044 int eap_server_psk_register(void); 00045 int eap_server_sake_register(void); 00046 int eap_server_gpsk_register(void); 00047 int eap_server_vendor_test_register(void); 00048 int eap_server_fast_register(void); 00049 int eap_server_wsc_register(void); 00050 int eap_server_ikev2_register(void); 00051 int eap_server_tnc_register(void); 00052 00053 #endif /* EAP_SERVER_METHODS_H */