mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
36 lines
1.0 KiB
C
36 lines
1.0 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"
|
|
|
|
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);
|
|
|
|
#endif /* EAP_METHODS_H */
|