xauth: add a configuration string option to be passed to XAuth instances

The configuration string is appended to the XAuth backend name, separated by
a colon. The configuration string is passed untouched to the backend, where
it can change the behavior of the XAuth module.
This commit is contained in:
Martin Willi
2013-09-03 16:26:19 +02:00
parent 7a425fb24c
commit 510ecf612a
15 changed files with 52 additions and 17 deletions
@@ -175,7 +175,8 @@ METHOD(xauth_method_t, destroy, void,
* Described in header.
*/
eap_radius_xauth_t *eap_radius_xauth_create_server(identification_t *server,
identification_t *peer)
identification_t *peer,
char *profile)
{
private_eap_radius_xauth_t *this;
@@ -41,9 +41,11 @@ struct eap_radius_xauth_t {
*
* @param server ID of the XAuth server
* @param peer ID of the XAuth client
* @param profile configuration string
* @return xauth_generic_t object
*/
eap_radius_xauth_t *eap_radius_xauth_create_server(identification_t *server,
identification_t *peer);
identification_t *peer,
char *profile);
#endif /** EAP_RADIUS_XAUTH_H_ @}*/