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
@@ -69,7 +69,8 @@ METHOD(xauth_method_t, destroy, void,
* Described in header.
*/
xauth_noauth_t *xauth_noauth_create_server(identification_t *server,
identification_t *peer)
identification_t *peer,
char *profile)
{
private_xauth_noauth_t *this;
@@ -42,9 +42,11 @@ struct xauth_noauth_t {
*
* @param server ID of the XAuth server
* @param peer ID of the XAuth client
* @param profile configuration string
* @return xauth_noauth_t object
*/
xauth_noauth_t *xauth_noauth_create_server(identification_t *server,
identification_t *peer);
identification_t *peer,
char *profile);
#endif /** XAUTH_NOAUTH_H_ @}*/