2008-02-27 20:34:43 -05:00
|
|
|
/*
|
2009-11-29 11:57:15 -05:00
|
|
|
* EAP server method registration
|
|
|
|
* Copyright (c) 2004-2009, Jouni Malinen <j@w1.fi>
|
2008-02-27 20:34:43 -05:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
|
|
* license.
|
|
|
|
*
|
|
|
|
* See README and COPYING for more details.
|
|
|
|
*/
|
|
|
|
|
2009-04-21 09:45:16 -04:00
|
|
|
#ifndef EAP_SERVER_METHODS_H
|
|
|
|
#define EAP_SERVER_METHODS_H
|
2008-02-27 20:34:43 -05: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);
|
|
|
|
int eap_server_register_methods(void);
|
|
|
|
void eap_server_unregister_methods(void);
|
2009-11-29 11:57:15 -05:00
|
|
|
const char * eap_server_get_name(int vendor, EapType type);
|
2008-02-27 20:34:43 -05:00
|
|
|
|
2009-04-21 09:45:16 -04:00
|
|
|
#endif /* EAP_SERVER_METHODS_H */
|