2008-02-28 02:34:43 +01:00
|
|
|
/*
|
2009-11-29 17:57:15 +01:00
|
|
|
* EAP server method registration
|
|
|
|
* Copyright (c) 2004-2009, Jouni Malinen <j@w1.fi>
|
2008-02-28 02:34:43 +01:00
|
|
|
*
|
2012-02-11 15:46:35 +01:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2008-02-28 02:34:43 +01:00
|
|
|
*/
|
|
|
|
|
2009-04-21 15:45:16 +02:00
|
|
|
#ifndef EAP_SERVER_METHODS_H
|
|
|
|
#define EAP_SERVER_METHODS_H
|
2008-02-28 02:34:43 +01:00
|
|
|
|
2009-12-06 10:28:41 +01:00
|
|
|
#include "eap_common/eap_defs.h"
|
|
|
|
|
2008-02-28 02:34:43 +01:00
|
|
|
const struct eap_method * eap_server_get_eap_method(int vendor,
|
|
|
|
EapType method);
|
|
|
|
struct eap_method * eap_server_method_alloc(int version, int vendor,
|
|
|
|
EapType method, const char *name);
|
|
|
|
void eap_server_method_free(struct eap_method *method);
|
|
|
|
int eap_server_method_register(struct eap_method *method);
|
|
|
|
|
|
|
|
EapType eap_server_get_type(const char *name, int *vendor);
|
|
|
|
void eap_server_unregister_methods(void);
|
2009-11-29 17:57:15 +01:00
|
|
|
const char * eap_server_get_name(int vendor, EapType type);
|
2008-02-28 02:34:43 +01:00
|
|
|
|
2009-12-06 10:28:41 +01:00
|
|
|
/* EAP server method registration calls for statically linked in methods */
|
|
|
|
int eap_server_identity_register(void);
|
|
|
|
int eap_server_md5_register(void);
|
|
|
|
int eap_server_tls_register(void);
|
2012-08-22 21:34:11 +02:00
|
|
|
int eap_server_unauth_tls_register(void);
|
2009-12-06 10:28:41 +01:00
|
|
|
int eap_server_mschapv2_register(void);
|
|
|
|
int eap_server_peap_register(void);
|
|
|
|
int eap_server_tlv_register(void);
|
|
|
|
int eap_server_gtc_register(void);
|
|
|
|
int eap_server_ttls_register(void);
|
|
|
|
int eap_server_sim_register(void);
|
|
|
|
int eap_server_aka_register(void);
|
|
|
|
int eap_server_aka_prime_register(void);
|
|
|
|
int eap_server_pax_register(void);
|
|
|
|
int eap_server_psk_register(void);
|
|
|
|
int eap_server_sake_register(void);
|
|
|
|
int eap_server_gpsk_register(void);
|
|
|
|
int eap_server_vendor_test_register(void);
|
|
|
|
int eap_server_fast_register(void);
|
|
|
|
int eap_server_wsc_register(void);
|
|
|
|
int eap_server_ikev2_register(void);
|
|
|
|
int eap_server_tnc_register(void);
|
2010-09-15 09:51:40 +02:00
|
|
|
int eap_server_pwd_register(void);
|
2009-12-06 10:28:41 +01:00
|
|
|
|
2009-04-21 15:45:16 +02:00
|
|
|
#endif /* EAP_SERVER_METHODS_H */
|