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

Functions

mUpnpActionResponsemupnp_control_action_response_new ()
 
void mupnp_control_action_response_delete (mUpnpActionResponse *actionRes)
 
void mupnp_control_action_response_clear (mUpnpActionResponse *actionRes)
 
void mupnp_control_action_response_setsoapresponse (mUpnpActionResponse *actionRes, mUpnpSoapResponse *soapRes)
 
static mUpnpXmlNodemupnp_control_action_response_createresponsenode (mUpnpAction *action)
 
void mupnp_control_action_response_setresponse (mUpnpActionResponse *actionRes, mUpnpAction *action)
 
mUpnpXmlNodemupnp_control_action_response_getactionresponsenode (mUpnpActionResponse *actionRes)
 
bool mupnp_control_action_response_getresult (mUpnpActionResponse *actionRes, mUpnpAction *action)
 
bool mupnp_control_action_response_geterror (mUpnpActionResponse *actionRes, mUpnpAction *action)
 

Function Documentation

◆ mupnp_control_action_response_clear()

void mupnp_control_action_response_clear ( mUpnpActionResponse * actionReq)

Clear action response

Parameters
actionReqAction response

◆ mupnp_control_action_response_createresponsenode()

static mUpnpXmlNode * mupnp_control_action_response_createresponsenode ( mUpnpAction * action)
static

◆ mupnp_control_action_response_delete()

void mupnp_control_action_response_delete ( mUpnpActionResponse * actionReq)

Delete action response

Parameters
actionReqAction response

◆ mupnp_control_action_response_getactionresponsenode()

mUpnpXmlNode * mupnp_control_action_response_getactionresponsenode ( mUpnpActionResponse * actionRes)

Get action response XML node from action response

Parameters
actionResAction response
Returns
Action response XML node

◆ mupnp_control_action_response_geterror()

bool mupnp_control_action_response_geterror ( mUpnpActionResponse * actionRes,
mUpnpAction * action )

Get error associated to action response

Todo
Check this out more carefully
Parameters
actionResAction response
actionUPnP action

◆ mupnp_control_action_response_getresult()

bool mupnp_control_action_response_getresult ( mUpnpActionResponse * actionRes,
mUpnpAction * action )

Get result from action response

Todo
Check this out more carefully
Parameters
actionResAction response
actionUPnP action

◆ mupnp_control_action_response_new()

mUpnpActionResponse * mupnp_control_action_response_new ( void )

Create new action response

◆ mupnp_control_action_response_setresponse()

void mupnp_control_action_response_setresponse ( mUpnpActionResponse * actionRes,
mUpnpAction * action )

Set action response to action

Parameters
actionResAction response
actionUPnP action

◆ mupnp_control_action_response_setsoapresponse()

void mupnp_control_action_response_setsoapresponse ( mUpnpActionResponse * actionRes,
mUpnpSoapResponse * soapRes )

Set soap response to action response

Parameters
actionResAction response
soapResSoap reaponse