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

Functions

mUpnpQueryRequestmupnp_control_query_request_new ()
 
void mupnp_control_query_request_delete (mUpnpQueryRequest *queryReq)
 
void mupnp_control_query_request_clear (mUpnpQueryRequest *queryReq)
 
void mupnp_control_query_request_setsoaprequest (mUpnpQueryRequest *queryReq, mUpnpSoapRequest *soapReq)
 
mUpnpXmlNodemupnp_control_query_request_getvarnamenode (mUpnpQueryRequest *queryReq)
 
char * mupnp_control_query_request_getvarname (mUpnpQueryRequest *queryReq)
 
mUpnpXmlNodemupnp_control_query_request_cratestatevariablenode (mUpnpStateVariable *statVar)
 
void mupnp_control_query_request_setstatevariable (mUpnpQueryRequest *queryReq, mUpnpStateVariable *statVar)
 
mUpnpQueryResponsemupnp_control_query_request_post (mUpnpQueryRequest *queryReq)
 

Function Documentation

◆ mupnp_control_query_request_clear()

void mupnp_control_query_request_clear ( mUpnpQueryRequest * queryReq)

Clear query request

Parameters
queryReqQuery request

◆ mupnp_control_query_request_cratestatevariablenode()

mUpnpXmlNode * mupnp_control_query_request_cratestatevariablenode ( mUpnpStateVariable * statVar)

◆ mupnp_control_query_request_delete()

void mupnp_control_query_request_delete ( mUpnpQueryRequest * queryReq)

Delete query request

Parameters
queryReqQuery request

◆ mupnp_control_query_request_getvarname()

char * mupnp_control_query_request_getvarname ( mUpnpQueryRequest * queryReq)

Get state variable name associated with this query request

Parameters
queryReqQuery request
Returns
State variable variable name

◆ mupnp_control_query_request_getvarnamenode()

mUpnpXmlNode * mupnp_control_query_request_getvarnamenode ( mUpnpQueryRequest * queryReq)

Get state variable XML node

Parameters
queryReq
Returns
State variable XML node

◆ mupnp_control_query_request_new()

mUpnpQueryRequest * mupnp_control_query_request_new ( void )

Create new query request object

◆ mupnp_control_query_request_post()

mUpnpQueryResponse * mupnp_control_query_request_post ( mUpnpQueryRequest * queryReq)

Send query request

Parameters
queryReqQuery request
Returns
Query response

◆ mupnp_control_query_request_setsoaprequest()

void mupnp_control_query_request_setsoaprequest ( mUpnpQueryRequest * queryReq,
mUpnpSoapRequest * soapReq )

Set soap request for query request

Parameters
queryReqQuery request
soapReqSoap request

◆ mupnp_control_query_request_setstatevariable()

void mupnp_control_query_request_setstatevariable ( mUpnpQueryRequest * queryReq,
mUpnpStateVariable * statVar )

Set state variable to query request

Parameters
queryReqQuery request
statVarState variable