ccdscontrolpoint.c File Reference

#include <stdarg.h>
#include <cybergarage/xml/cxml.h>
#include <cybergarage/util/cstring.h>
#include <cybergarage/upnp/cdevice.h>
#include <cybergarage/upnp/cservice.h>
#include <cybergarage/upnp/caction.h>
#include <cybergarage/contentdirectory/ccdscontrolpoint.h>
#include <cybergarage/contentdirectory/ccontentdirectory.h>
#include <cybergarage/contentdirectory/cdidllite.h>
#include <cybergarage/avdebug.h>

Functions

int cg_upnp_av_cds_control_invokeaction (CgUpnpDevice *upnpDevice, char *actionName, char **errorString,...)
BOOL cg_upnp_av_cds_create_cg_xml (char *xmldoc, CgXmlNodeList *nodelist)

Function Documentation

int cg_upnp_av_cds_control_invokeaction CgUpnpDevice *  upnpDevice,
char *  actionName,
char **  errorString,
  ...
 

Invoke an action on the upnp device

Parameters:
upnpDevice The UPnP device
actionName The name of the action to invoke
errorString A newly-created error string if the action fails. Pass NULL if you don't want to use it.
... A list of action-specific arguments
Returns:
An integer containing the UPnP status code
The list of action-specific arguments is a comma-separated list, that is organised as pairs of char* ARG_NAME and CgString* ARG_VALUE. ARG_NAME contains the name of the argument, while ARG_VALUE contains the value of the argument. You don't need to put anything inside OUT arguments, as they are not sent along with the action; their contents are set when the action post returns with OUT values that were received from the peer.

BOOL cg_upnp_av_cds_create_cg_xml char *  xmldoc,
CgXmlNodeList *  nodelist
 

Parse an XML document into a CgXmlNodeList*

Parameters:
xmldoc The raw XML document to parse
nodelist An XML node list to save the parsed nodes
Returns:
TRUE if successful; otherwise FALSE


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