cdidllite.h File Reference

#include <cybergarage/xml/cxml.h>

Go to the source code of this file.

Defines

#define DIDL_LITE_NAME   "DIDL-Lite"
#define DIDL_LITE_XMLNS   "xmlns"
#define DIDL_LITE_XMLNS_URL   "urn:schemas-upnp-org:metadata-1-0/DIDL-Lite"
#define DIDL_LITE_XMLNS_DC   "xmlns:dc"
#define DIDL_LITE_XMLNS_DC_URL   "http://purl.org/dc/elements/1.1"
#define DIDL_LITE_XMLNS_UPNP   "xmlns:upnp"
#define DIDL_LITE_XMLNS_UPNP_URL   "urn:schemas-upnp-org:metadata-1-0/upnp"
#define DIDL_LITE_CONTAINER   "container"
#define DIDL_LITE_CONTAINER_SEARCHABLE   "searchable"
#define DIDL_LITE_CONTAINER_CHILDCOUNT   "childCount"
#define DIDL_LITE_SEARCHABLE   didl_lite_searchable_deprecated()
#define DIDL_LITE_CHILDCOUNT   didl_lite_childcount_deprecated()
#define DIDL_LITE_ITEM   "item"
#define DIDL_LITE_ITEM_ID   "id"
#define DIDL_LITE_ITEM_REFID   "refID"
#define DIDL_LITE_ID   didl_lite_id_deprecated()
#define DIDL_LITE_PARENTID   didl_lite_parentid_deprecated()
#define DIDL_LITE_RESTICTED   didl_lite_resticted_deprecated()
#define DIDL_LITE_OBJECT_ID   "id"
#define DIDL_LITE_OBJECT_PARENTID   "parentID"
#define DIDL_LITE_OBJECT_RESTRICTED   "restricted"
#define DIDL_LITE_DESC   "desc"
#define DIDL_LITE_RES   "res"
#define DIDL_LITE_RES_SIZE   "size"
#define DIDL_LITE_RES_DURATION   "duration"
#define DIDL_LITE_RES_BITRATE   "bitrate"
#define DIDL_LITE_RES_SAMPLEFREQUENCY   "sampleFrequency"
#define DIDL_LITE_RES_BITSPERSAMPLE   "bitsPerSample"
#define DIDL_LITE_RES_NRAUDIOCHANNELS   "nrAudioChannels"
#define DIDL_LITE_RES_RESOLUTION   "resolution"
#define DIDL_LITE_RES_COLORDEPTH   "colorDepth"
#define DIDL_LITE_RES_PROTOCOLINFO   "protocolInfo"
#define DIDL_LITE_RES_PROTECTION   "protection"
#define DIDL_LITE_RES_IMPORTURI   "importUri"
#define DIDL_LITE_UPNP_ACTOR   "upnp:actor"
#define DIDL_LITE_UPNP_ACTOR_ROLE   "role"
#define DIDL_LITE_UPNP_ALBUM   "upnp:album"
#define DIDL_LITE_UPNP_ALBUMARTURI   "upnp:albumArtURI"
#define DIDL_LITE_UPNP_ARTIST   "upnp:artist"
#define DIDL_LITE_UPNP_ARTIST_ROLE   "role"
#define DIDL_LITE_UPNP_ARTISTDISCOGRAPHYURI   "upnp:artistDiscographyURI"
#define DIDL_LITE_UPNP_AUTHOR   "upnp:author"
#define DIDL_LITE_UPNP_AUTHOR_ROLE   "role"
#define DIDL_LITE_UPNP_CHANNELNAME   "upnp:channelName"
#define DIDL_LITE_UPNP_CHANNELNR   "upnp:channelNr"
#define DIDL_LITE_UPNP_CLASS   "upnp:class"
#define DIDL_LITE_UPNP_CREATECLASS   "upnp:createClass"
#define DIDL_LITE_UPNP_CREATECLASS_INCLUDEDERIVED   "includeDerived"
#define DIDL_LITE_UPNP_CREATECLASS_NAME   "name"
#define DIDL_LITE_UPNP_DIRECTOR   "upnp:director"
#define DIDL_LITE_UPNP_DVDREGIONCODE   "upnp:DVDRegionCode"
#define DIDL_LITE_UPNP_GENRE   "upnp:genre"
#define DIDL_LITE_UPNP_ICON   "upnp:icon"
#define DIDL_LITE_UPNP_LONGDESCRIPTION   "upnp:longDescription"
#define DIDL_LITE_UPNP_LYRICSURI   "upnp:lyricsURI"
#define DIDL_LITE_UPNP_ORIGINALTRACKNUMBER   "upnp:originalTrackNumber"
#define DIDL_LITE_UPNP_PLAYLIST   "upnp:playlist"
#define DIDL_LITE_UPNP_PRODUCER   "upnp:producer"
#define DIDL_LITE_UPNP_PROTECTION   "upnp:protection"
#define DIDL_LITE_UPNP_RADIOBAND   "upnp:radioBand"
#define DIDL_LITE_UPNP_RADIOCALLSIGN   "upnp:radioCallSign"
#define DIDL_LITE_UPNP_RADIOSTATIONID   "upnp:radioStationID"
#define DIDL_LITE_UPNP_RATING   "upnp:rating"
#define DIDL_LITE_UPNP_REGION   "upnp:region"
#define DIDL_LITE_UPNP_SCHEDULEDENDTIME   "upnp:scheduledEndTime"
#define DIDL_LITE_UPNP_SCHEDULEDSTARTTIME   "upnp:scheduledStartTime"
#define DIDL_LITE_UPNP_SEARCHCLASS   "upnp:searchClass"
#define DIDL_LITE_UPNP_SEARCHCLASS_INCLUDEDERIVED   "includeDerived"
#define DIDL_LITE_UPNP_SEARCHCLASS_NAME   "name"
#define DIDL_LITE_UPNP_STORAGEFREE   "upnp:storageFree"
#define DIDL_LITE_UPNP_STORAGEMAXPARTITION   "upnp:storageMaxPartition"
#define DIDL_LITE_UPNP_STORAGEMEDIUM   "upnp:storageMedium"
#define DIDL_LITE_UPNP_STORAGETOTAL   "upnp:storageTotal"
#define DIDL_LITE_UPNP_STORAGEUSED   "upnp:storageUsed"
#define DIDL_LITE_UPNP_TOC   "upnp:toc"
#define DIDL_LITE_UPNP_USERANNOTATION   "upnp:userAnnotation"
#define DIDL_LITE_UPNP_WRITESTATUS   "upnp:writeStatus"
#define DIDL_LITE_DC_CONTRIBUTOR   "dc:contributor"
#define DIDL_LITE_DC_CREATOR   "dc:creator"
#define DIDL_LITE_DC_DATE   "dc:date"
#define DIDL_LITE_DC_DESCRIPTION   "dc:description"
#define DIDL_LITE_DC_LANGUAGE   "dc:language"
#define DIDL_LITE_DC_PUBLISHER   "dc:publisher"
#define DIDL_LITE_DC_RELATION   "dc:relation"
#define DIDL_LITE_DC_RIGHTS   "dc:rights"
#define DIDL_LITE_DC_TITLE   "dc:title"
#define DIDL_LITE_OBJECT   "object"
#define DIDL_LITE_OBJECT_ITEM   "object.item"
#define DIDL_LITE_OBJECT_ITEM_IMAGEITEM   "object.item.imageItem"
#define DIDL_LITE_OBJECT_ITEM_IMAGEITEM_PHOTO   "object.item.imageItem.photo"
#define DIDL_LITE_OBJECT_ITEM_AUDIOITEM   "object.item.audioItem"
#define DIDL_LITE_OBJECT_ITEM_AUDIOITEM_MUSICTRACK   "object.item.audioItem.musicTrack"
#define DIDL_LITE_OBJECT_ITEM_AUDIOITEM_AUDIOBROADCAST   "object.item.audioItem.audioBroadcast"
#define DIDL_LITE_OBJECT_ITEM_AUDIOITEM_AUDIOBOOK   "object.item.audioItemaudioBook"
#define DIDL_LITE_OBJECT_ITEM_VIDEOITEM   "object.item.videoItem"
#define DIDL_LITE_OBJECT_ITEM_VIDEOITEM_MOVIE   "object.item.videoItem.movie"
#define DIDL_LITE_OBJECT_ITEM_VIDEOITEM_VIDEOBROADCAST   "object.item.videoItem.videoBroadcast"
#define DIDL_LITE_OBJECT_ITEM_VIDEOITEM_MUSICVIDEOCLIP   "object.item.videoItem.musicVideoClip"
#define DIDL_LITE_OBJECT_ITEM_PLAYLISTITEM   "object.item.playlistItem"
#define DIDL_LITE_OBJECT_ITEM_TEXTITEM   "object.item.textItem"
#define DIDL_LITE_OBJECT_CONTAINER   "object.container"
#define DIDL_LITE_OBJECT_CONTAINER_PERSON   "object.container.person"
#define DIDL_LITE_OBJECT_CONTAINER_PERSON_MUSICARTIST   "object.container.person.musicArtist"
#define DIDL_LITE_OBJECT_CONTAINER_PLAYLISTCONTAINER   "object.container.playlistContainer"
#define DIDL_LITE_OBJECT_CONTAINER_ALBUM   "object.container.album"
#define DIDL_LITE_OBJECT_CONTAINER_ALBUM_MUSICALBUM   "object.container.album.musicAlbum"
#define DIDL_LITE_OBJECT_CONTAINER_ALBUM_PHOTOALBUM   "object.container.album.photoAlbum"
#define DIDL_LITE_OBJECT_CONTAINER_GENRE   "object.container.genre"
#define DIDL_LITE_OBJECT_CONTAINER_GENRE_MUSICGENRE   "object.container.genre.musicGenre"
#define DIDL_LITE_OBJECT_CONTAINER_GENRE_MOVIEGENRE   "object.container.genre.movieGenre"
#define DIDL_LITE_OBJECT_CONTAINER_STORAGESYSTEM   "object.container.storageSystem"
#define DIDL_LITE_OBJECT_CONTAINER_STORAGEVOLUME   "object.container.storageVolume"
#define DIDL_LITE_OBJECT_CONTAINER_STORAGEFOLDER   "object.container.storageFolder"
#define cg_upnp_av_cds_didllite_node_getname(node)   cg_xml_node_getname(node)
#define cg_upnp_av_cds_didllite_node_setname(node, name)   cg_xml_node_setname(node, name)
#define cg_upnp_av_cds_didllite_node_iscontainer(node)
#define cg_upnp_av_cds_didllite_node_isname(node, nodename)   cg_xml_node_isname(node, nodename)
#define cg_upnp_av_cds_didllite_node_getvalue(node)   cg_xml_node_getvalue(node)
#define cg_upnp_av_cds_didllite_node_setvalue(node, value)   cg_xml_node_setvalue(node, value)
#define cg_upnp_av_cds_didllite_node_getattribute(node, attribute)   cg_xml_node_getattributevalue(node, attribute)
#define cg_upnp_av_cds_didllite_node_setattribute(node, attribute)   cg_xml_node_setattributevalue(node, attribute)
#define cg_upnp_av_cds_didllite_node_next(node)   cg_xml_node_next(node)
#define cg_upnp_av_cds_didllite_node_getchildnodelist(node)   cg_xml_node_getchildnodelist(node)
#define cg_upnp_av_cds_didllite_nodelist_gets(nodelist)   cg_xml_nodelist_gets(nodelist)

Functions

CgXmlNodeList * cg_upnp_av_cds_didllite_getchildren (CgXmlNodeList *nodelist, BOOL strict)
char * cg_upnp_av_cds_didllite_res_getprotocol (CgXmlNode *resNode)
char * cg_upnp_av_cds_didllite_res_getnetwork (CgXmlNode *resNode)
char * cg_upnp_av_cds_didllite_res_getmimetype (CgXmlNode *resNode)
char * cg_upnp_av_cds_didllite_res_getadditionalinfo (CgXmlNode *resNode)


Define Documentation

#define cg_upnp_av_cds_didllite_node_getattribute node,
attribute   )     cg_xml_node_getattributevalue(node, attribute)
 

Get an attribute value of a DIDL-lite node

Parameters:
node The CgXmlNode*
attribute Name of the attribute to get

#define cg_upnp_av_cds_didllite_node_getchildnodelist node   )     cg_xml_node_getchildnodelist(node)
 

Get the children of a node

Parameters:
node The CgXmlNode*
Returns:
CgXmlNodeList*

#define cg_upnp_av_cds_didllite_node_getname node   )     cg_xml_node_getname(node)
 

Get the name of a DIDL-lite node

Parameters:
node The CgXmlNode*

#define cg_upnp_av_cds_didllite_node_getvalue node   )     cg_xml_node_getvalue(node)
 

Get the value of a DIDL-lite node

Parameters:
node The CgXmlNode*

#define cg_upnp_av_cds_didllite_node_iscontainer node   ) 
 

Value:

( (cg_strcmp(cg_xml_node_getname(node), DIDL_LITE_CONTAINER) == 0) ? \
          TRUE : FALSE )
Check, whether a node is a container

Returns:
TRUE if the node is a container; otherwise FALSE

#define cg_upnp_av_cds_didllite_node_isname node,
nodename   )     cg_xml_node_isname(node, nodename)
 

#define cg_upnp_av_cds_didllite_node_next node   )     cg_xml_node_next(node)
 

Get the next DIDL node

#define cg_upnp_av_cds_didllite_node_setattribute node,
attribute   )     cg_xml_node_setattributevalue(node, attribute)
 

Set an attribute value of a DIDL-lite node

Parameters:
node The CgXmlNode*
attribute Name of the attribute to get

#define cg_upnp_av_cds_didllite_node_setname node,
name   )     cg_xml_node_setname(node, name)
 

Set the name of a DIDL-lite node

Parameters:
node The CgXmlNode*
name The name to set

#define cg_upnp_av_cds_didllite_node_setvalue node,
value   )     cg_xml_node_setvalue(node, value)
 

Set the value of a DIDL-lite node

Parameters:
node The CgXmlNode*
value The value to set

#define cg_upnp_av_cds_didllite_nodelist_gets nodelist   )     cg_xml_nodelist_gets(nodelist)
 

Get the first child node from a DIDL node list

Parameters:
nodelist The CgXmlNodeList* containing children
Returns:
The child CgXmlNode*

#define DIDL_LITE_CHILDCOUNT   didl_lite_childcount_deprecated()
 

#define DIDL_LITE_CONTAINER   "container"
 

#define DIDL_LITE_CONTAINER_CHILDCOUNT   "childCount"
 

#define DIDL_LITE_CONTAINER_SEARCHABLE   "searchable"
 

#define DIDL_LITE_DC_CONTRIBUTOR   "dc:contributor"
 

#define DIDL_LITE_DC_CREATOR   "dc:creator"
 

#define DIDL_LITE_DC_DATE   "dc:date"
 

#define DIDL_LITE_DC_DESCRIPTION   "dc:description"
 

#define DIDL_LITE_DC_LANGUAGE   "dc:language"
 

#define DIDL_LITE_DC_PUBLISHER   "dc:publisher"
 

#define DIDL_LITE_DC_RELATION   "dc:relation"
 

#define DIDL_LITE_DC_RIGHTS   "dc:rights"
 

#define DIDL_LITE_DC_TITLE   "dc:title"
 

#define DIDL_LITE_DESC   "desc"
 

#define DIDL_LITE_ID   didl_lite_id_deprecated()
 

#define DIDL_LITE_ITEM   "item"
 

#define DIDL_LITE_ITEM_ID   "id"
 

#define DIDL_LITE_ITEM_REFID   "refID"
 

#define DIDL_LITE_NAME   "DIDL-Lite"
 

#define DIDL_LITE_OBJECT   "object"
 

#define DIDL_LITE_OBJECT_CONTAINER   "object.container"
 

#define DIDL_LITE_OBJECT_CONTAINER_ALBUM   "object.container.album"
 

#define DIDL_LITE_OBJECT_CONTAINER_ALBUM_MUSICALBUM   "object.container.album.musicAlbum"
 

#define DIDL_LITE_OBJECT_CONTAINER_ALBUM_PHOTOALBUM   "object.container.album.photoAlbum"
 

#define DIDL_LITE_OBJECT_CONTAINER_GENRE   "object.container.genre"
 

#define DIDL_LITE_OBJECT_CONTAINER_GENRE_MOVIEGENRE   "object.container.genre.movieGenre"
 

#define DIDL_LITE_OBJECT_CONTAINER_GENRE_MUSICGENRE   "object.container.genre.musicGenre"
 

#define DIDL_LITE_OBJECT_CONTAINER_PERSON   "object.container.person"
 

#define DIDL_LITE_OBJECT_CONTAINER_PERSON_MUSICARTIST   "object.container.person.musicArtist"
 

#define DIDL_LITE_OBJECT_CONTAINER_PLAYLISTCONTAINER   "object.container.playlistContainer"
 

#define DIDL_LITE_OBJECT_CONTAINER_STORAGEFOLDER   "object.container.storageFolder"
 

#define DIDL_LITE_OBJECT_CONTAINER_STORAGESYSTEM   "object.container.storageSystem"
 

#define DIDL_LITE_OBJECT_CONTAINER_STORAGEVOLUME   "object.container.storageVolume"
 

#define DIDL_LITE_OBJECT_ID   "id"
 

#define DIDL_LITE_OBJECT_ITEM   "object.item"
 

#define DIDL_LITE_OBJECT_ITEM_AUDIOITEM   "object.item.audioItem"
 

#define DIDL_LITE_OBJECT_ITEM_AUDIOITEM_AUDIOBOOK   "object.item.audioItemaudioBook"
 

#define DIDL_LITE_OBJECT_ITEM_AUDIOITEM_AUDIOBROADCAST   "object.item.audioItem.audioBroadcast"
 

#define DIDL_LITE_OBJECT_ITEM_AUDIOITEM_MUSICTRACK   "object.item.audioItem.musicTrack"
 

#define DIDL_LITE_OBJECT_ITEM_IMAGEITEM   "object.item.imageItem"
 

#define DIDL_LITE_OBJECT_ITEM_IMAGEITEM_PHOTO   "object.item.imageItem.photo"
 

#define DIDL_LITE_OBJECT_ITEM_PLAYLISTITEM   "object.item.playlistItem"
 

#define DIDL_LITE_OBJECT_ITEM_TEXTITEM   "object.item.textItem"
 

#define DIDL_LITE_OBJECT_ITEM_VIDEOITEM   "object.item.videoItem"
 

#define DIDL_LITE_OBJECT_ITEM_VIDEOITEM_MOVIE   "object.item.videoItem.movie"
 

#define DIDL_LITE_OBJECT_ITEM_VIDEOITEM_MUSICVIDEOCLIP   "object.item.videoItem.musicVideoClip"
 

#define DIDL_LITE_OBJECT_ITEM_VIDEOITEM_VIDEOBROADCAST   "object.item.videoItem.videoBroadcast"
 

#define DIDL_LITE_OBJECT_PARENTID   "parentID"
 

#define DIDL_LITE_OBJECT_RESTRICTED   "restricted"
 

#define DIDL_LITE_PARENTID   didl_lite_parentid_deprecated()
 

#define DIDL_LITE_RES   "res"
 

#define DIDL_LITE_RES_BITRATE   "bitrate"
 

#define DIDL_LITE_RES_BITSPERSAMPLE   "bitsPerSample"
 

#define DIDL_LITE_RES_COLORDEPTH   "colorDepth"
 

#define DIDL_LITE_RES_DURATION   "duration"
 

#define DIDL_LITE_RES_IMPORTURI   "importUri"
 

#define DIDL_LITE_RES_NRAUDIOCHANNELS   "nrAudioChannels"
 

#define DIDL_LITE_RES_PROTECTION   "protection"
 

#define DIDL_LITE_RES_PROTOCOLINFO   "protocolInfo"
 

#define DIDL_LITE_RES_RESOLUTION   "resolution"
 

#define DIDL_LITE_RES_SAMPLEFREQUENCY   "sampleFrequency"
 

#define DIDL_LITE_RES_SIZE   "size"
 

#define DIDL_LITE_RESTICTED   didl_lite_resticted_deprecated()
 

#define DIDL_LITE_SEARCHABLE   didl_lite_searchable_deprecated()
 

#define DIDL_LITE_UPNP_ACTOR   "upnp:actor"
 

#define DIDL_LITE_UPNP_ACTOR_ROLE   "role"
 

#define DIDL_LITE_UPNP_ALBUM   "upnp:album"
 

#define DIDL_LITE_UPNP_ALBUMARTURI   "upnp:albumArtURI"
 

#define DIDL_LITE_UPNP_ARTIST   "upnp:artist"
 

#define DIDL_LITE_UPNP_ARTIST_ROLE   "role"
 

#define DIDL_LITE_UPNP_ARTISTDISCOGRAPHYURI   "upnp:artistDiscographyURI"
 

#define DIDL_LITE_UPNP_AUTHOR   "upnp:author"
 

#define DIDL_LITE_UPNP_AUTHOR_ROLE   "role"
 

#define DIDL_LITE_UPNP_CHANNELNAME   "upnp:channelName"
 

#define DIDL_LITE_UPNP_CHANNELNR   "upnp:channelNr"
 

#define DIDL_LITE_UPNP_CLASS   "upnp:class"
 

#define DIDL_LITE_UPNP_CREATECLASS   "upnp:createClass"
 

#define DIDL_LITE_UPNP_CREATECLASS_INCLUDEDERIVED   "includeDerived"
 

#define DIDL_LITE_UPNP_CREATECLASS_NAME   "name"
 

#define DIDL_LITE_UPNP_DIRECTOR   "upnp:director"
 

#define DIDL_LITE_UPNP_DVDREGIONCODE   "upnp:DVDRegionCode"
 

#define DIDL_LITE_UPNP_GENRE   "upnp:genre"
 

#define DIDL_LITE_UPNP_ICON   "upnp:icon"
 

#define DIDL_LITE_UPNP_LONGDESCRIPTION   "upnp:longDescription"
 

#define DIDL_LITE_UPNP_LYRICSURI   "upnp:lyricsURI"
 

#define DIDL_LITE_UPNP_ORIGINALTRACKNUMBER   "upnp:originalTrackNumber"
 

#define DIDL_LITE_UPNP_PLAYLIST   "upnp:playlist"
 

#define DIDL_LITE_UPNP_PRODUCER   "upnp:producer"
 

#define DIDL_LITE_UPNP_PROTECTION   "upnp:protection"
 

#define DIDL_LITE_UPNP_RADIOBAND   "upnp:radioBand"
 

#define DIDL_LITE_UPNP_RADIOCALLSIGN   "upnp:radioCallSign"
 

#define DIDL_LITE_UPNP_RADIOSTATIONID   "upnp:radioStationID"
 

#define DIDL_LITE_UPNP_RATING   "upnp:rating"
 

#define DIDL_LITE_UPNP_REGION   "upnp:region"
 

#define DIDL_LITE_UPNP_SCHEDULEDENDTIME   "upnp:scheduledEndTime"
 

#define DIDL_LITE_UPNP_SCHEDULEDSTARTTIME   "upnp:scheduledStartTime"
 

#define DIDL_LITE_UPNP_SEARCHCLASS   "upnp:searchClass"
 

#define DIDL_LITE_UPNP_SEARCHCLASS_INCLUDEDERIVED   "includeDerived"
 

#define DIDL_LITE_UPNP_SEARCHCLASS_NAME   "name"
 

#define DIDL_LITE_UPNP_STORAGEFREE   "upnp:storageFree"
 

#define DIDL_LITE_UPNP_STORAGEMAXPARTITION   "upnp:storageMaxPartition"
 

#define DIDL_LITE_UPNP_STORAGEMEDIUM   "upnp:storageMedium"
 

#define DIDL_LITE_UPNP_STORAGETOTAL   "upnp:storageTotal"
 

#define DIDL_LITE_UPNP_STORAGEUSED   "upnp:storageUsed"
 

#define DIDL_LITE_UPNP_TOC   "upnp:toc"
 

#define DIDL_LITE_UPNP_USERANNOTATION   "upnp:userAnnotation"
 

#define DIDL_LITE_UPNP_WRITESTATUS   "upnp:writeStatus"
 

#define DIDL_LITE_XMLNS   "xmlns"
 

#define DIDL_LITE_XMLNS_DC   "xmlns:dc"
 

#define DIDL_LITE_XMLNS_DC_URL   "http://purl.org/dc/elements/1.1"
 

#define DIDL_LITE_XMLNS_UPNP   "xmlns:upnp"
 

#define DIDL_LITE_XMLNS_UPNP_URL   "urn:schemas-upnp-org:metadata-1-0/upnp"
 

#define DIDL_LITE_XMLNS_URL   "urn:schemas-upnp-org:metadata-1-0/DIDL-Lite"
 


Function Documentation

CgXmlNodeList* cg_upnp_av_cds_didllite_getchildren CgXmlNodeList *  nodelist,
BOOL  strict
 

Check the validity of a DIDL-Lite nodelist and return the direct list of children for the DIDL-Lite root node

Parameters:
node A DIDL-Lite root node
strict If TRUE, check that xmlns, xmlns:dc and xmlns:upnp match exactly the ones in the CDS specification
Returns:
The direct list of children if valid; otherwise NULL

char* cg_upnp_av_cds_didllite_res_getadditionalinfo CgXmlNode *  resNode  ) 
 

Extract the additional info parameter from the protocolInfo field in a <res> node

Parameters:
resNode A CgXmlNode containing a <res> element
Returns:
Newly created char* containing the additional info or NULL if failed

char* cg_upnp_av_cds_didllite_res_getmimetype CgXmlNode *  resNode  ) 
 

Extract the mime type parameter from the protocolInfo field in a <res> node

Parameters:
resNode A CgXmlNode containing a <res> element
Returns:
Newly created char* containing the mime type or NULL if failed

char* cg_upnp_av_cds_didllite_res_getnetwork CgXmlNode *  resNode  ) 
 

Extract the network parameter from the protocolInfo field in a <res> node

Parameters:
resNode A CgXmlNode containing a <res> element
Returns:
Newly created char* containing the network or NULL if failed

char* cg_upnp_av_cds_didllite_res_getprotocol CgXmlNode *  resNode  ) 
 

Extract the protocol parameter from the protocolInfo field in a <res> node

Parameters:
resNode A CgXmlNode containing a <res> element
Returns:
Newly created char* containing the protocol or NULL if failed


Generated on Mon Aug 14 10:23:33 2006 for CyberLinkC-AV by  doxygen 1.4.6