aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/xauth/xauth_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/sa/xauth/xauth_method.h')
-rw-r--r--src/libcharon/sa/xauth/xauth_method.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcharon/sa/xauth/xauth_method.h b/src/libcharon/sa/xauth/xauth_method.h
index 9f6067dbf..701b4dc77 100644
--- a/src/libcharon/sa/xauth/xauth_method.h
+++ b/src/libcharon/sa/xauth/xauth_method.h
@@ -104,10 +104,12 @@ struct xauth_method_t {
*
* @param server ID of the server to use for credential lookup
* @param peer ID of the peer to use for credential lookup
+ * @param profile configuration string to pass to XAuth method, or NULL
* @return implementation of the eap_method_t interface
*/
typedef xauth_method_t *(*xauth_constructor_t)(identification_t *server,
- identification_t *peer);
+ identification_t *peer,
+ char *profile);
/**
* Helper function to (un-)register XAuth methods from plugin features.