mUPnP for C
|
Data Structures | |
struct | _mUpnpArgument |
Typedefs | |
typedef struct _mUpnpArgument | mUpnpArgument |
typedef struct _mUpnpArgument | mUpnpArgumentList |
Functions | |
mUpnpArgument * | mupnp_argument_new (void) |
void | mupnp_argument_delete (mUpnpArgument *dev) |
mUpnpArgumentList * | mupnp_argumentlist_new (void) |
void | mupnp_argumentlist_delete (mUpnpArgumentList *argumentList) |
mUpnpArgument * | mupnp_argumentlist_get (mUpnpArgumentList *argumentList, const char *name) |
void | mupnp_argumentlist_set (mUpnpArgumentList *argumentList, mUpnpArgumentList *srcArgumentList) |
#define MUPNP_ARGUMENT_DIRECTION "direction" |
Definition for argument element "direction"
#define MUPNP_ARGUMENT_ELEM_NAME "argument" |
Definition for argument element name
#define mupnp_argument_getargumentnode | ( | arg | ) |
Get XML argument node from argument
arg | Argument |
#define mupnp_argument_getdirection | ( | arg | ) |
Get argument direction
arg | Argument |
#define mupnp_argument_getdoublevalue | ( | arg | ) |
Get argument value
arg | Argument |
#define mupnp_argument_getfloatvalue | ( | arg | ) |
Get argument value
arg | Argument |
#define mupnp_argument_getintvalue | ( | arg | ) |
Get argument value
arg | Argument |
#define mupnp_argument_getname | ( | arg | ) |
Get argument name
arg | Argument |
#define mupnp_argument_getrelatedstatevariable | ( | arg | ) |
Get related state variable
arg | Argument |
#define mupnp_argument_getservicenode | ( | arg | ) |
Get service node from argument
arg | Argument |
#define mupnp_argument_getvalue | ( | arg | ) |
Get argument value
arg | Argument |
#define MUPNP_ARGUMENT_IN_DIR "in" |
Definition for argument passing direction (in)
#define mupnp_argument_isargumentnode | ( | node | ) |
Check if XML node is argument node
node | XML node |
#define mupnp_argument_isindirection | ( | arg | ) |
Check if argument direction is "in"
arg | Argument |
#define mupnp_argument_isname | ( | arg, | |
name ) |
Check if current argument name matches with the provided name
arg | Argument |
name | Name matched with argument name |
#define mupnp_argument_isoutdirection | ( | arg | ) |
Check if argument direction is "out"
arg | Argument |
#define MUPNP_ARGUMENT_NAME "name" |
Definition for argument element name
#define mupnp_argument_next | ( | arg | ) |
Get next argument using argument as iterator
arg | Argument node |
#define MUPNP_ARGUMENT_OUT_DIR "out" |
Definition for argument passing direction (out)
#define MUPNP_ARGUMENT_RELATED_STATE_VARIABLE "relatedStateVariable" |
Definition for argument related state variable
#define mupnp_argument_setargumentnode | ( | arg, | |
node ) |
Set XML argument node for argument
arg | Argument |
node | XML argument node |
#define mupnp_argument_setdirection | ( | arg, | |
value ) |
Set direction for argument
arg | Argument |
value | New direction value |
#define mupnp_argument_setdoublevalue | ( | arg, | |
data ) |
Set argument value
arg | Argument |
data | Argument value |
#define mupnp_argument_setfloatvalue | ( | arg, | |
data ) |
Set argument value
arg | Argument |
data | Argument value |
#define mupnp_argument_setintvalue | ( | arg, | |
data ) |
Set argument value
arg | Argument |
data | Argument value |
#define mupnp_argument_setname | ( | arg, | |
value ) |
Set name for argument
arg | Argument |
value | Argument name |
#define mupnp_argument_setrelatedstatevariable | ( | arg, | |
value ) |
Set related state variable
arg | Argument |
value | Related state variable name |
#define mupnp_argument_setservicenode | ( | arg, | |
node ) |
Set XML service node for argument
arg | Argument |
node | XML service node |
#define mupnp_argument_setvalue | ( | arg, | |
data ) |
Set argument value
arg | Argument |
data | Argument value |
#define mupnp_argumentlist_add | ( | argList, | |
arg ) |
Add argument into argument list
argList | Argument list |
arg | Argument |
#define mupnp_argumentlist_clear | ( | argList | ) |
Clear argument list
argList | Argument list |
#define MUPNP_ARGUMENTLIST_ELEM_NAME "argumentList" |
Definition for argument list element name
#define mupnp_argumentlist_gets | ( | argList | ) |
Get next argument from argument list
argList | Argument list |
#define mupnp_argumentlist_size | ( | argList | ) |
typedef struct _mUpnpArgument mUpnpArgument |
Data type definition for UPnP argument and UPnP argument list
typedef struct _mUpnpArgument mUpnpArgumentList |
void mupnp_argument_delete | ( | mUpnpArgument * | dev | ) |
Delete argument
dev | Argument |
mUpnpArgument * mupnp_argument_new | ( | void | ) |
Create new argument
void mupnp_argumentlist_delete | ( | mUpnpArgumentList * | argumentList | ) |
Delete argument list
argumentList | Argument list |
mUpnpArgument * mupnp_argumentlist_get | ( | mUpnpArgumentList * | argumentList, |
const char * | name ) |
Get argument from argument list based on argument name
argumentList | argumentList |
name | Argument name |
mUpnpArgumentList * mupnp_argumentlist_new | ( | void | ) |
Create new argument list
void mupnp_argumentlist_set | ( | mUpnpArgumentList * | argumentList, |
mUpnpArgumentList * | srcArgumentList ) |
Set argument values by using source argument list. If there is an argument with the name in argument list and source argument list argument data is set from source argument list to the matching argument list.
argumentList | Argument list |
srcArgumentList | Source argument list |