mUPnP for C
|
Data Structures | |
struct | _mUpnpStatus |
Macros | |
#define | MUPNP_STATUS_INVALID_ACTION 401 |
#define | MUPNP_STATUS_INVALID_ARGS 402 |
#define | MUPNP_STATUS_OUT_OF_SYNC 403 |
#define | MUPNP_STATUS_INVALID_VAR 404 |
#define | MUPNP_STATUS_ACTION_FAILED 501 |
#define | mupnp_status_setcode(upnpStat, value) |
#define | mupnp_status_getcode(upnpStat) |
#define | mupnp_status_setdescription(upnpStat, value) |
#define | mupnp_status_getdescription(upnpStat) |
Typedefs | |
typedef struct _mUpnpStatus | mUpnpStatus |
Functions | |
mUpnpStatus * | mupnp_status_new (void) |
void | mupnp_status_delete (mUpnpStatus *upnpStat) |
char * | mupnp_status_code2string (int code) |
#define MUPNP_STATUS_ACTION_FAILED 501 |
#define mupnp_status_getcode | ( | upnpStat | ) |
Get Status code from a status struct
upnpStat | Status structure |
#define mupnp_status_getdescription | ( | upnpStat | ) |
Get status description from a status struct
upnpStat | Status struct |
#define MUPNP_STATUS_INVALID_ACTION 401 |
#define MUPNP_STATUS_INVALID_ARGS 402 |
#define MUPNP_STATUS_INVALID_VAR 404 |
#define MUPNP_STATUS_OUT_OF_SYNC 403 |
#define mupnp_status_setcode | ( | upnpStat, | |
value ) |
Set status code for status struct
upnpStat | Status struct |
value | Status code |
#define mupnp_status_setdescription | ( | upnpStat, | |
value ) |
Set status description for a status struct
upnpStat | Status struct |
value | Status description |
typedef struct _mUpnpStatus mUpnpStatus |
UPnP status struct used in action and state operations
char * mupnp_status_code2string | ( | int | code | ) |
Helper function that converts a status code into a status description
code | Code to convert into a description |
void mupnp_status_delete | ( | mUpnpStatus * | upnpStat | ) |
Delete a status struct
upnpStat | Status struct to delete |
mUpnpStatus * mupnp_status_new | ( | void | ) |
Create a new status struct