moved eap_from_string() fomr libcharon to libstrongswan to make it available in starter

This commit is contained in:
Andreas Steffen
2010-08-13 15:07:53 +02:00
parent e643da585b
commit 87799b0c00
5 changed files with 42 additions and 76 deletions
+8
View File
@@ -81,6 +81,14 @@ extern enum_name_t *eap_type_names;
*/
extern enum_name_t *eap_type_short_names;
/**
* Lookup the EAP method type from a string.
*
* @param name EAP method name (such as "md5", "aka")
* @return method type, 0 if unkown
*/
eap_type_t eap_type_from_string(char *name);
/**
* Authentication config to use during authentication process.
*