From a26c93fa92a87187dded8d0492ed6988ac725585 Mon Sep 17 00:00:00 2001 From: Denis Loh Date: Wed, 27 Jan 2010 13:50:27 +0100 Subject: Added filter functionality, added max length of metadata --- inc/util.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'inc/util.h') diff --git a/inc/util.h b/inc/util.h index 5f6f4a3..f194186 100644 --- a/inc/util.h +++ b/inc/util.h @@ -88,14 +88,17 @@ char* ixmlGetFirstDocumentItem( IN IXML_Document * doc, IN const char *item, int * The property must have the pattern "namespace:property@attribute". * * @return returns - * - \bc <0, in case of an error - * - \bc 0, otherwise + * - \bc NULL, in case of an error + * - \bc the newly created property node or the node at which the attribute was + * appended to * @param document the \c IXML document to put the parameter in * @param node the specific node where to put the parameter * @param upnpproperty the upnp property * @param value the value of the upnp property */ -int ixmlAddProperty(IN IXML_Document* document, IN IXML_Element* node, const char* upnpproperty, const char* value ); +IXML_Element* ixmlAddProperty(IN IXML_Document* document, IN IXML_Element* node, IN const char* upnpproperty, IN const char* value ); + +IXML_Element* ixmlAddFilteredProperty(IN cStringList* Filter, IN IXML_Document* document, IN IXML_Element* node, IN const char* upnpproperty, IN const char* value ); /** * creates a part of a string * -- cgit v1.2.3