libUPnP  1.6.17
Functions | Variables
soaplib.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void soap_device_callback (http_parser_t *parser, http_message_t *request, SOCKINFO *info)
 This is a callback called by minisever after receiving the request from the control point. This function will start processing the request. It calls handle_invoke_action to handle the SOAP action.
int SoapSendAction (IN char *action_url, IN char *service_type, IN IXML_Document *action_node, OUT IXML_Document **response_node)
int SoapSendActionEx (IN char *ActionURL, IN char *ServiceType, IN IXML_Document *Header, IN IXML_Document *ActNode, OUT IXML_Document **RespNode)
int SoapGetServiceVarStatus (IN char *ActionURL, IN DOMString VarName, OUT DOMString *StVar)

Variables

const char * ContentTypeHeader

Detailed Description


Function Documentation

void soap_device_callback ( http_parser_t parser,
http_message_t request,
SOCKINFO info 
)

This is a callback called by minisever after receiving the request from the control point. This function will start processing the request. It calls handle_invoke_action to handle the SOAP action.

Parameters:
[in]parserParsed request received by the device.
[in]requestHTTP request.
[in,out]infoSocket info.

References memptr::buf, http_message_t::entity, get_request_type(), handle_invoke_action(), handle_query_variable(), has_xml_content_type(), ixmlDocument_free(), ixmlParseBufferEx(), memptr::length, send_error_response(), and UPNP_E_OUTOF_MEMORY.

Referenced by UpnpInitPreamble().