#include <cybergarage/upnp/caction.h>
#include <cybergarage/util/clog.h>
Function Documentation
Destroy an action
- Parameters:
-
| action | The action to destroy |
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
| char* cg_upnp_action_getargumentvaluebyname |
( |
CgUpnpAction * |
action, |
|
|
char * |
name |
|
) |
| |
Get a value of the specified argument from the action by the argument's name directly.
- Parameters:
-
| action | The action in question |
| name | The name of the argument to look for |
- Returns:
- char* if successfull; otherwise NULL
| static void cg_upnp_action_initargumentlist |
( |
CgUpnpAction * |
action | ) |
[static] |
| static void cg_upnp_action_initchildnodes |
( |
CgUpnpAction * |
action | ) |
[static] |
Create a new action
- Returns:
- CgUpnpAction*
Set the action's XML node (i.e. the XML representation of the action)
- Parameters:
-
| action | The action in question |
| node | The CgXmlNode* |
| BOOL cg_upnp_action_setargumentvaluebyname |
( |
CgUpnpAction * |
action, |
|
|
char * |
name, |
|
|
char * |
value |
|
) |
| |
Set a value of the specified argument from the action by the argument's name directly.
- Parameters:
-
| action | The action in question |
| name | The name of the argument to look for |
| value | The value to set |
- Returns:
- TRUE if successfull; otherwise NO