libUPnP 1.14.19
Functions
parsetools.h File Reference
#include "httpparser.h"
#include "upnputil.h"
Include dependency graph for parsetools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int has_xml_content_type (http_message_t *hmsg)
 Find the header from the HTTP message and match the header for xml data.
 

Function Documentation

◆ has_xml_content_type()

int has_xml_content_type ( http_message_t hmsg)

Find the header from the HTTP message and match the header for xml data.

Returns
boolean.
Parameters
[in]hmsgHTTP Message object.

References memptr::buf, memptr::length, and PARSE_OK.

Referenced by gena_process_notification_event(), and soap_device_callback().