1 /*
2  * hostapd / EAP method registration
3  * Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi>
4  *
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.
8  *
9  * Alternatively, this software may be distributed under the terms of BSD
10  * license.
11  *
12  * See README and COPYING for more details.
13  */
14 
15 #ifndef EAP_METHODS_H
16 #define EAP_METHODS_H
17 
18 const struct eap_method * eap_server_get_eap_method(int vendor,
19 						    EapType method);
20 struct eap_method * eap_server_method_alloc(int version, int vendor,
21 					    EapType method, const char *name);
22 void eap_server_method_free(struct eap_method *method);
23 int eap_server_method_register(struct eap_method *method);
24 
25 EapType eap_server_get_type(const char *name, int *vendor);
26 int eap_server_register_methods(void);
27 void eap_server_unregister_methods(void);
28 
29 #endif /* EAP_METHODS_H */
30