12228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project/* 22228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project * EAP server method registration 32228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project * Copyright (c) 2004-2009, Jouni Malinen <j@w1.fi> 42228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project * 54f0d97057c5c640b25518358886f8c47da9fc052Jean-Michel Trivi * This software may be distributed under the terms of the BSD license. 62228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project * See README for more details. 72228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project */ 82228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project 92228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project#ifndef EAP_SERVER_METHODS_H 102228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project#define EAP_SERVER_METHODS_H 112228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project 122228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project#include "eap_common/eap_defs.h" 132228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project 142228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectconst struct eap_method * eap_server_get_eap_method(int vendor, 152228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project EapType method); 162228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectstruct eap_method * eap_server_method_alloc(int version, int vendor, 172228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project EapType method, const char *name); 182228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectvoid eap_server_method_free(struct eap_method *method); 192228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_method_register(struct eap_method *method); 202228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project 212228e360595641dd906bf1773307f43d304f5b2The Android Open Source ProjectEapType eap_server_get_type(const char *name, int *vendor); 222228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectvoid eap_server_unregister_methods(void); 232228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectconst char * eap_server_get_name(int vendor, EapType type); 242228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project 252228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project/* EAP server method registration calls for statically linked in methods */ 262228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_identity_register(void); 272228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_md5_register(void); 282228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_tls_register(void); 292228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_unauth_tls_register(void); 302228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_mschapv2_register(void); 312228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_peap_register(void); 322228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_tlv_register(void); 332228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_gtc_register(void); 342228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_ttls_register(void); 352228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_sim_register(void); 362228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_aka_register(void); 372228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_aka_prime_register(void); 382228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_pax_register(void); 392228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_psk_register(void); 402228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_sake_register(void); 412228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_gpsk_register(void); 422228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_vendor_test_register(void); 432228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_fast_register(void); 442228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_wsc_register(void); 452228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_ikev2_register(void); 462228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_tnc_register(void); 472228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_pwd_register(void); 482228e360595641dd906bf1773307f43d304f5b2The Android Open Source Projectint eap_server_eke_register(void); 492228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project 502228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project#endif /* EAP_SERVER_METHODS_H */ 512228e360595641dd906bf1773307f43d304f5b2The Android Open Source Project