mUPnP for C
|
Functions | |
static void | mupnp_action_initchildnodes (mUpnpAction *action) |
static void | mupnp_action_initargumentlist (mUpnpAction *action) |
mUpnpAction * | mupnp_action_new () |
void | mupnp_action_delete (mUpnpAction *action) |
void | mupnp_action_setactionnode (mUpnpAction *action, mUpnpXmlNode *node) |
mUpnpArgument * | mupnp_action_getargumentbyname (mUpnpAction *action, const char *name) |
char * | mupnp_action_getargumentvaluebyname (mUpnpAction *action, const char *name) |
bool | mupnp_action_setargumentvaluebyname (mUpnpAction *action, const char *name, const char *value) |
void mupnp_action_delete | ( | mUpnpAction * | action | ) |
Destroy an action
action | The action to destroy |
mUpnpArgument * mupnp_action_getargumentbyname | ( | mUpnpAction * | action, |
const char * | name ) |
Find an argument from the action by the argument's name.
action | The action in question |
name | The name of the argument to look for |
char * mupnp_action_getargumentvaluebyname | ( | mUpnpAction * | action, |
const char * | name ) |
Get a value of the specified argument from the action by the argument's name directly.
action | The action in question |
name | The name of the argument to look for |
|
static |
|
static |
mUpnpAction * mupnp_action_new | ( | void | ) |
Create a new action
void mupnp_action_setactionnode | ( | mUpnpAction * | action, |
mUpnpXmlNode * | node ) |
Set the action's XML node (i.e. the XML representation of the action)
action | The action in question |
node | The mUpnpXmlNode* |
bool mupnp_action_setargumentvaluebyname | ( | mUpnpAction * | action, |
const char * | name, | ||
const char * | value ) |
Set a value of the specified argument from the action by the argument's name directly.
action | The action in question |
name | The name of the argument to look for |
value | The value to set |