#include <cybergarage/typedef.h>
#include <cybergarage/util/cstring.h>
Data Structures | |
struct | _CgUpnpStatus |
Defines | |
#define | CG_UPNP_STATUS_INVALID_ACTION 401 |
#define | CG_UPNP_STATUS_INVALID_ARGS 402 |
#define | CG_UPNP_STATUS_OUT_OF_SYNC 403 |
#define | CG_UPNP_STATUS_INVALID_VAR 404 |
#define | CG_UPNP_STATUS_ACTION_FAILED 501 |
#define | cg_upnp_status_setcode(upnpStat, value) (upnpStat->code = value) |
#define | cg_upnp_status_getcode(upnpStat) (upnpStat->code) |
#define | cg_upnp_status_setdescription(upnpStat, value) cg_string_setvalue(upnpStat->description, value) |
#define | cg_upnp_status_getdescription(upnpStat) cg_string_getvalue(upnpStat->description) |
Typedefs | |
typedef _CgUpnpStatus | CgUpnpStatus |
Functions | |
CgUpnpStatus * | cg_upnp_status_new () |
void | cg_upnp_status_delete (CgUpnpStatus *upnpStat) |
char * | cg_upnp_status_code2string (int code) |
|
|
|
Get Status code from a status struct
|
|
Get status description from a status struct
|
|
|
|
|
|
|
|
|
|
Set status code for status struct
|
|
Set status description for a status struct
|
|
UPnP status struct used in action and state operations |
|
Helper function that converts a status code into a status description
|
|
Delete a status struct
|
|
Create a new status struct |