diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-02-17 10:14:59 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-02-17 10:14:59 +0000 |
| commit | 95f5d99be610ed5f26ad9321718a97e887fb72b2 (patch) | |
| tree | d188a57444856903f65eca7a77703ee96db02593 /lasso/id-wsf/data_service.c | |
| parent | 58fa7178e43a32d493015cd15a1dd29bcbdc49c0 (diff) | |
| download | lasso-95f5d99be610ed5f26ad9321718a97e887fb72b2.tar.gz lasso-95f5d99be610ed5f26ad9321718a97e887fb72b2.tar.xz lasso-95f5d99be610ed5f26ad9321718a97e887fb72b2.zip | |
Core: add missing return value owner semantic annotations to getters
* lasso/id-ff/provider.c:
fix lasso_provider_get_base64_succinct_id, it returned a libxml
string, copy it with g_strdup before releasing it to stay with GLib
allocated string in return values.
Diffstat (limited to 'lasso/id-wsf/data_service.c')
| -rw-r--r-- | lasso/id-wsf/data_service.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lasso/id-wsf/data_service.c b/lasso/id-wsf/data_service.c index f62632e1..7377a978 100644 --- a/lasso/id-wsf/data_service.c +++ b/lasso/id-wsf/data_service.c @@ -211,7 +211,7 @@ lasso_data_service_add_query_item(LassoDataService *service, * @service: a #LassoDataService * @select: the select string of the query item to found * @item_id: the item id of the query item to found - * @output: a #LassoDstQueryItem handle to store the result object, its reference count is not + * @output:(transfer none): a #LassoDstQueryItem handle to store the result object, its reference count is not * incremented. * * Look up the first query item in the current request matching the given criteria, @select or @@ -300,7 +300,7 @@ lasso_data_service_build_response_msg(LassoDataService *service) /** * lasso_data_service_get_answers: * @service: a #LassoDataService object. - * @output: (element-type xmlNode): an xmlNode** pointer where to put the xmlNode* of the result + * @output:(transfer full)(allow-none)(element-type xmlNode): an xmlNode** pointer where to put the xmlNode* of the result * * Get all the xmlNode content of the first Data element of the QueryResponse message. * @@ -1240,7 +1240,7 @@ lasso_data_service_new_full(LassoServer *server, LassoDiscoResourceOffering *off * @service: a #LassoDataService object * @resource_data: (allow-none): an xmlnode representing the resource data of the service * - * FIXME: add documentation + * Set the resource data content. */ void lasso_data_service_set_resource_data(LassoDataService *service, const xmlNode *resource_data) @@ -1250,10 +1250,12 @@ lasso_data_service_set_resource_data(LassoDataService *service, const xmlNode *r /** - * lasso_data_service_set_resource_data: + * lasso_data_service_get_resource_data: * @service: a #LassoDataService object * - * FIXME: add documentation. + * Return the XML resrouce data in this data service. + * + * Return value:(transfer full)(allow-none): a newly allocated #xmlNode or NULL. */ xmlNode * lasso_data_service_get_resource_data(LassoDataService *service) |
