summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-08-01 14:07:35 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-08-01 14:07:35 +0000
commite94a644e03224a649db8174d8318bb76a5c33613 (patch)
treee4a4566006ad9eeed58ead184c452a253a6dbf87
parentc71dfaf498e301b2ca050e2223ee5b69ad20eb25 (diff)
Documentation for lasso_wsf_profile_get_description_autos
-rw-r--r--lasso/id-wsf/wsf_profile.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/lasso/id-wsf/wsf_profile.c b/lasso/id-wsf/wsf_profile.c
index 6621954b..ac4c17b0 100644
--- a/lasso/id-wsf/wsf_profile.c
+++ b/lasso/id-wsf/wsf_profile.c
@@ -156,7 +156,18 @@ lasso_wsf_profile_set_public_key(LassoWsfProfile *profile, const char *public_ke
}
}
-LassoDiscoDescription*
+/*
+ * lasso_wsf_profile_get_description_autos:
+ * @si: a #LassoDiscoServiceInstance
+ * @security_mech_id: the URI of a liberty security mechanism
+ *
+ * Traverse the service instance descriptions and find one which supports the
+ * given security mechanism.
+ *
+ * Returns: a #LassoDiscoDescription that supports security_mech_id, NULL
+ * otherwise.
+ */
+static LassoDiscoDescription*
lasso_wsf_profile_get_description_auto(LassoDiscoServiceInstance *si, const gchar *security_mech_id)
{
GList *iter, *iter2;