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
+1 -1
View File
@@ -195,7 +195,7 @@ METHOD(xauth_method_t, destroy, void,
* Described in header.
*/
xauth_pam_t *xauth_pam_create_server(identification_t *server,
identification_t *peer)
identification_t *peer, char *profile)
{
private_xauth_pam_t *this;
+2 -1
View File
@@ -41,9 +41,10 @@ struct xauth_pam_t {
*
* @param server ID of the XAuth server
* @param peer ID of the XAuth client
* @param profile configuration string
* @return xauth_pam_t object
*/
xauth_pam_t *xauth_pam_create_server(identification_t *server,
identification_t *peer);
identification_t *peer, char *profile);
#endif /** XAUTH_PAM_H_ @}*/