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:
@@ -187,7 +187,8 @@ METHOD(xauth_method_t, destroy, void,
|
||||
* Described in header.
|
||||
*/
|
||||
xauth_generic_t *xauth_generic_create_peer(identification_t *server,
|
||||
identification_t *peer)
|
||||
identification_t *peer,
|
||||
char *profile)
|
||||
{
|
||||
private_xauth_generic_t *this;
|
||||
|
||||
@@ -211,7 +212,8 @@ xauth_generic_t *xauth_generic_create_peer(identification_t *server,
|
||||
* Described in header.
|
||||
*/
|
||||
xauth_generic_t *xauth_generic_create_server(identification_t *server,
|
||||
identification_t *peer)
|
||||
identification_t *peer,
|
||||
char *profile)
|
||||
{
|
||||
private_xauth_generic_t *this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user