Expand PMF_FN_* macros.
[netbsd-mini2440.git] / dist / wpa / src / eap_server / eap_methods.h
blob0fd53909ff4bafa0f45e09174d90a56b6b726ea4
1 /*
2 * hostapd / EAP method registration
3 * Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi>
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.
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
12 * See README and COPYING for more details.
15 #ifndef EAP_METHODS_H
16 #define EAP_METHODS_H
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);
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);
29 #endif /* EAP_METHODS_H */