diff options
author | Denis Loh <denis.loh@gmail.com> | 2010-01-27 13:50:27 +0100 |
---|---|---|
committer | Denis Loh <denis.loh@gmail.com> | 2010-01-27 13:50:27 +0100 |
commit | a26c93fa92a87187dded8d0492ed6988ac725585 (patch) | |
tree | a241bbf8e845631ce7ae78a36753c12a01017fcf /inc/util.h | |
parent | 2f45223f577c91db7fd962020b3473f5a34f369c (diff) | |
download | vdr-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.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 * |