caction.c File Reference

#include <cybergarage/upnp/caction.h>
#include <cybergarage/util/clog.h>

Functions

static void cg_upnp_action_initchildnodes (CgUpnpAction *action)
static void cg_upnp_action_initargumentlist (CgUpnpAction *action)
CgUpnpActioncg_upnp_action_new ()
void cg_upnp_action_delete (CgUpnpAction *action)
void cg_upnp_action_setactionnode (CgUpnpAction *action, CgXmlNode *node)
CgUpnpArgumentcg_upnp_action_getargumentbyname (CgUpnpAction *action, char *name)

Function Documentation

void cg_upnp_action_delete ( CgUpnpAction action  ) 

Destroy an action

Parameters:
action The action to destroy

CgUpnpArgument* cg_upnp_action_getargumentbyname ( CgUpnpAction action,
char *  name 
)

Find an argument from the action by the argument's name.

Parameters:
action The action in question
name The name of the argument to look for
Returns:
CgUpnpArgument* if successfull; otherwise NULL

static void cg_upnp_action_initargumentlist ( CgUpnpAction action  )  [static]

static void cg_upnp_action_initchildnodes ( CgUpnpAction action  )  [static]

CgUpnpAction* cg_upnp_action_new (  ) 

Create a new action

Returns:
CgUpnpAction*

void cg_upnp_action_setactionnode ( CgUpnpAction action,
CgXmlNode node 
)

Set the action's XML node (i.e. the XML representation of the action)

Parameters:
action The action in question
node The CgXmlNode*


Generated on Tue Aug 8 14:56:29 2006 for CyberLinkC by  doxygen 1.4.7