• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant/src/eap_server/
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
18const struct eap_method * eap_server_get_eap_method(int vendor,
19						    EapType method);
20struct eap_method * eap_server_method_alloc(int version, int vendor,
21					    EapType method, const char *name);
22void eap_server_method_free(struct eap_method *method);
23int eap_server_method_register(struct eap_method *method);
24
25EapType eap_server_get_type(const char *name, int *vendor);
26int eap_server_register_methods(void);
27void eap_server_unregister_methods(void);
28
29#endif /* EAP_METHODS_H */
30