summaryrefslogtreecommitdiffstats
path: root/lasso/id-wsf
diff options
context:
space:
mode:
authorDamien Laniel <dlaniel@entrouvert.com>2009-01-26 16:10:24 +0000
committerDamien Laniel <dlaniel@entrouvert.com>2009-01-26 16:10:24 +0000
commitfad3fa581bd0857da4351a5e0f1f8f53aa591c9c (patch)
tree58bee6f3daf390b9ebd268f82bd06a9f14a38111 /lasso/id-wsf
parentaa0add4286be2bbfad77a98c137e479c99dc60bf (diff)
downloadlasso-fad3fa581bd0857da4351a5e0f1f8f53aa591c9c.tar.gz
lasso-fad3fa581bd0857da4351a5e0f1f8f53aa591c9c.tar.xz
lasso-fad3fa581bd0857da4351a5e0f1f8f53aa591c9c.zip
added documentation for id-wsf 2.0 functions
Diffstat (limited to 'lasso/id-wsf')
-rw-r--r--lasso/id-wsf/data_service.c14
-rw-r--r--lasso/id-wsf/discovery.c9
2 files changed, 16 insertions, 7 deletions
diff --git a/lasso/id-wsf/data_service.c b/lasso/id-wsf/data_service.c
index 974f0f00..477d2732 100644
--- a/lasso/id-wsf/data_service.c
+++ b/lasso/id-wsf/data_service.c
@@ -24,7 +24,10 @@
/**
* SECTION:data_service
- * @short_description: ID-WSF Data Service Profile
+ * @short_description: ID-WSF Data Service profile
+ *
+ * DataService allows Attribute Consumers (WSC) to request an Attribute Provider (WSP) to get
+ * or modify data about users with their consent.
*
* Following up on #LassoDiscovery first example, it created a @service object,
* this is a #LassoDataService instance. This example continues from that step
@@ -1030,6 +1033,15 @@ lasso_data_service_new(LassoServer *server)
return service;
}
+/**
+ * lasso_data_service_new_full:
+ * @server: the #LassoServer
+ * @offering: the #LassoDiscoResourceOffering
+ *
+ * Creates a new #LassoDataService.
+ *
+ * Return value: a newly created #LassoDataService object; or NULL if an error occured.
+ **/
LassoDataService*
lasso_data_service_new_full(LassoServer *server, LassoDiscoResourceOffering *offering)
{
diff --git a/lasso/id-wsf/discovery.c b/lasso/id-wsf/discovery.c
index 3b958dc9..1d160d95 100644
--- a/lasso/id-wsf/discovery.c
+++ b/lasso/id-wsf/discovery.c
@@ -1360,8 +1360,7 @@ lasso_discovery_get_type()
*
* Creates a new #LassoDiscovery.
*
- * Return value: a newly created #LassoDiscovery object; or NULL if an error
- * occured.
+ * Return value: a newly created #LassoDiscovery object; or NULL if an error occured.
**/
LassoDiscovery*
lasso_discovery_new(LassoServer *server)
@@ -1376,16 +1375,14 @@ lasso_discovery_new(LassoServer *server)
return discovery;
}
-
/**
* lasso_discovery_new_full:
* @server: the #LassoServer
- * @offering: the
+ * @offering: the #LassoDiscoResourceOffering
*
* Creates a new #LassoDiscovery.
*
- * Return value: a newly created #LassoDiscovery object; or NULL if an error
- * occured.
+ * Return value: a newly created #LassoDiscovery object; or NULL if an error occured.
**/
LassoDiscovery*
lasso_discovery_new_full(LassoServer *server, LassoDiscoResourceOffering *offering)