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:
@@ -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_ @}*/
|
||||
|
||||
Reference in New Issue
Block a user