mUPnP for C
|
#include <mupnp/control/control.h>
#include <mupnp/device.h>
#include <mupnp/util/log.h>
#include <mupnp/util/string.h>
Functions | |
const char * | mupnp_usn_getudn (const char *usn, char *udnBuf, size_t udnBufLen) |
void | mupnp_control_soap_response_initializeenvelopenode (mUpnpSoapResponse *soapRes) |
void | mupnp_control_soap_request_initializeenvelopenode (mUpnpSoapRequest *soapReq) |
mUpnpXmlNode * | mupnp_control_soap_response_createfaultresponsenode (int errCode, char *errDescr) |
void | mupnp_control_soap_response_setfaultresponse (mUpnpSoapResponse *soapRes, int errCode, char *errDescr) |
void | mupnp_control_request_sethostfromservice (mUpnpSoapRequest *soapReq, mUpnpService *service) |
void mupnp_control_request_sethostfromservice | ( | mUpnpSoapRequest * | soapReq, |
mUpnpService * | service ) |
Set host from service
soapReq | Soap request |
service | UPnP service |
void mupnp_control_soap_request_initializeenvelopenode | ( | mUpnpSoapRequest * | soapReq | ) |
Initializes soap requests envelope node
soapReq | Soap request |
mUpnpXmlNode * mupnp_control_soap_response_createfaultresponsenode | ( | int | errCode, |
char * | errDescr ) |
void mupnp_control_soap_response_initializeenvelopenode | ( | mUpnpSoapResponse * | soapRes | ) |
Initialize soap responses envelope node
soapRes | Soap response |
void mupnp_control_soap_response_setfaultresponse | ( | mUpnpSoapResponse * | soapRes, |
int | errCode, | ||
char * | errDescr ) |
Set failed response data
soapRes | Soap response |
errCode | Error code |
errDescr | Error description |
const char * mupnp_usn_getudn | ( | const char * | usn, |
char * | udnBuf, | ||
size_t | udnBufLen ) |
Get udn from usn
usn | Universal serial number |
udnBuf | Buffer where udn is stored after successfull execution |
udnBufLen | Buffer length for udnBuf |