eap_methods.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * EAP server method registration
  3. * Copyright (c) 2004-2009, Jouni Malinen <j@w1.fi>
  4. *
  5. * This software may be distributed under the terms of the BSD license.
  6. * See README for more details.
  7. */
  8. #ifndef EAP_SERVER_METHODS_H
  9. #define EAP_SERVER_METHODS_H
  10. #include "eap_common/eap_defs.h"
  11. const struct eap_method * eap_server_get_eap_method(int vendor,
  12. EapType method);
  13. struct eap_method * eap_server_method_alloc(int version, int vendor,
  14. EapType method, const char *name);
  15. void eap_server_method_free(struct eap_method *method);
  16. int eap_server_method_register(struct eap_method *method);
  17. EapType eap_server_get_type(const char *name, int *vendor);
  18. void eap_server_unregister_methods(void);
  19. const char * eap_server_get_name(int vendor, EapType type);
  20. /* EAP server method registration calls for statically linked in methods */
  21. int eap_server_identity_register(void);
  22. int eap_server_md5_register(void);
  23. int eap_server_tls_register(void);
  24. int eap_server_unauth_tls_register(void);
  25. int eap_server_wfa_unauth_tls_register(void);
  26. int eap_server_mschapv2_register(void);
  27. int eap_server_peap_register(void);
  28. int eap_server_tlv_register(void);
  29. int eap_server_gtc_register(void);
  30. int eap_server_ttls_register(void);
  31. int eap_server_sim_register(void);
  32. int eap_server_aka_register(void);
  33. int eap_server_aka_prime_register(void);
  34. int eap_server_pax_register(void);
  35. int eap_server_psk_register(void);
  36. int eap_server_sake_register(void);
  37. int eap_server_gpsk_register(void);
  38. int eap_server_vendor_test_register(void);
  39. int eap_server_fast_register(void);
  40. int eap_server_wsc_register(void);
  41. int eap_server_ikev2_register(void);
  42. int eap_server_tnc_register(void);
  43. int eap_server_pwd_register(void);
  44. int eap_server_eke_register(void);
  45. #endif /* EAP_SERVER_METHODS_H */