cdidllite.c File Reference

#include <cybergarage/contentdirectory/cdidllite.h>
#include <cybergarage/avdebug.h>
#include <cybergarage/util/cstring.h>

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)

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:34 2006 for CyberLinkC-AV by  doxygen 1.4.6