summaryrefslogtreecommitdiff
path: root/inc/util.h
diff options
context:
space:
mode:
authorDenis Loh <denis.loh@gmail.com>2010-01-27 13:50:27 +0100
committerDenis Loh <denis.loh@gmail.com>2010-01-27 13:50:27 +0100
commita26c93fa92a87187dded8d0492ed6988ac725585 (patch)
treea241bbf8e845631ce7ae78a36753c12a01017fcf /inc/util.h
parent2f45223f577c91db7fd962020b3473f5a34f369c (diff)
downloadvdr-plugin-upnp-a26c93fa92a87187dded8d0492ed6988ac725585.tar.gz
vdr-plugin-upnp-a26c93fa92a87187dded8d0492ed6988ac725585.tar.bz2
Added filter functionality, added max length of metadata
Diffstat (limited to 'inc/util.h')
-rw-r--r--inc/util.h9
1 files changed, 6 insertions, 3 deletions
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
*