1. Fix the WiFi/BT coexist bug 2. Fix WPA2 enterprise example crash bug 3. Add size and version check for crypto type struct 4. Add MD5 check for crypto type header file
39 lines
1.1 KiB
C
39 lines
1.1 KiB
C
/*
|
|
* EAP peer: Method registration
|
|
* Copyright (c) 2004-2007, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#ifndef EAP_METHODS_H
|
|
#define EAP_METHODS_H
|
|
|
|
#include "eap_defs.h"
|
|
#include "eap_config.h"
|
|
|
|
const struct eap_method * eap_peer_get_eap_method(int vendor, EapType method);
|
|
const struct eap_method * eap_peer_get_methods(size_t *count);
|
|
|
|
u32 eap_get_phase2_type(const char *name, int *vendor);
|
|
struct eap_method_type * eap_get_phase2_types(struct eap_peer_config *config,
|
|
size_t *count);
|
|
|
|
struct eap_method * eap_peer_method_alloc(int verdor, EapType method,
|
|
const char *name);
|
|
|
|
void eap_peer_method_free(struct eap_method *method);
|
|
int eap_peer_method_register(struct eap_method *method);
|
|
|
|
void eap_peer_unregister_methods(void);
|
|
|
|
//int eap_peer_md5_register(void);
|
|
int eap_peer_tls_register(void);
|
|
int eap_peer_peap_register(void);
|
|
int eap_peer_ttls_register(void);
|
|
int eap_peer_mschapv2_register(void);
|
|
|
|
void eap_peer_unregister_methods(void);
|
|
int eap_peer_register_methods(void);
|
|
|
|
#endif /* EAP_METHODS_H */
|