mUPnP for C
query_response.c File Reference
#include <mupnp/control/control.h>
#include <mupnp/service.h>
#include <mupnp/upnp_limit.h>
#include <mupnp/util/log.h>

Functions

mUpnpQueryResponsemupnp_control_query_response_new ()
 
void mupnp_control_query_response_delete (mUpnpQueryResponse *queryRes)
 
void mupnp_control_query_response_clear (mUpnpQueryResponse *queryRes)
 
void mupnp_control_query_response_setsoapresponse (mUpnpQueryResponse *queryRes, mUpnpSoapResponse *soapRes)
 
static mUpnpXmlNodemupnp_control_query_response_createresponsenode (mUpnpStateVariable *statVar)
 
void mupnp_control_query_response_setresponse (mUpnpQueryResponse *queryRes, mUpnpStateVariable *statVar)
 
mUpnpXmlNodemupnp_control_query_response_getreturnnode (mUpnpQueryResponse *queryRes)
 
char * mupnp_control_query_response_getreturnvalue (mUpnpQueryResponse *queryRes)
 

Function Documentation

◆ mupnp_control_query_response_clear()

void mupnp_control_query_response_clear ( mUpnpQueryResponse * queryReq)

Clear query response

Parameters
queryReqQuery request

◆ mupnp_control_query_response_createresponsenode()

static mUpnpXmlNode * mupnp_control_query_response_createresponsenode ( mUpnpStateVariable * statVar)
static

◆ mupnp_control_query_response_delete()

void mupnp_control_query_response_delete ( mUpnpQueryResponse * queryReq)

Delete query response

Parameters
queryReqQuery request

◆ mupnp_control_query_response_getreturnnode()

mUpnpXmlNode * mupnp_control_query_response_getreturnnode ( mUpnpQueryResponse * queryRes)

Get XML return node from query response

Parameters
queryRes
Returns
XML return node

◆ mupnp_control_query_response_getreturnvalue()

char * mupnp_control_query_response_getreturnvalue ( mUpnpQueryResponse * queryRes)

Get return valuse from query response

Parameters
queryResQuery response
Returns
UPnP return value

◆ mupnp_control_query_response_new()

mUpnpQueryResponse * mupnp_control_query_response_new ( void )

Create new query response

◆ mupnp_control_query_response_setresponse()

void mupnp_control_query_response_setresponse ( mUpnpQueryResponse * queryRes,
mUpnpStateVariable * statVar )

Create and set XML response data into query response

Parameters
queryResQuery response
statVarState variable

◆ mupnp_control_query_response_setsoapresponse()

void mupnp_control_query_response_setsoapresponse ( mUpnpQueryResponse * queryRes,
mUpnpSoapResponse * soapRes )

Set soap response for query response

Parameters
queryResQuery response
soapResSoap response