ccmscontrolpoint.c File Reference

#include <cybergarage/avcontrol/cavcontrolpoint.h>
#include <cybergarage/connectionmanager/ccmscontrolpoint.h>
#include <cybergarage/upnp/caction.h>
#include <cybergarage/upnp/cupnp_status.h>
#include <cybergarage/avdebug.h>
#include <stdarg.h>

Functions

int cg_upnp_av_cms_control_invokeaction (CgUpnpDevice *upnpDevice, char *actionName, char **errorString,...)

Function Documentation

int cg_upnp_av_cms_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.


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