ccontentdirectory.c File Reference

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

Functions

CgUpnpAVCDScg_upnp_av_cds_new ()
void cg_upnp_av_cds_delete (CgUpnpAVCDS *cds)
void cg_upnp_av_cds_add_directory (CgUpnpAVCDS *cds, CgString *dir)
void cg_upnp_av_cds_remove_directory (CgUpnpAVCDS *cds, CgXmlNode *node)

Function Documentation

void cg_upnp_av_cds_add_directory CgUpnpAVCDS cds,
CgString *  dir
 

Add a directory to the CDS (device side only). This function is recursive, meaning it adds everything found under the given directory.

Parameters:
cds The content directory service
dir Directory to add

void cg_upnp_av_cds_delete CgUpnpAVCDS cds  ) 
 

Destroy a Content Directory Service.

Parameters:
cds The content directory service

CgUpnpAVCDS* cg_upnp_av_cds_new  ) 
 

Create a new Content Directory Service sub-structure. You must first have a parsed CgUpnpService* and then set a CgUpnpAVCDS* as the service's user data.

void cg_upnp_av_cds_remove_directory CgUpnpAVCDS cds,
CgXmlNode *  node
 

Remove a directory from the CDS (device side only). This function is recursive, meaning it removes the whole tree under the given node.

Parameters:
cds The content directory service
node The node to remove


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