libUPnP 1.8.4
Functions
parsetools.c File Reference
#include "config.h"
#include <assert.h>
#include "upnputil.h"
#include "membuffer.h"
#include "httpparser.h"
#include "statcodes.h"
#include "parsetools.h"
Include dependency graph for parsetools.c:

Functions

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

Detailed Description

Purpose: This file a function to extract the header information from an http message and then matches the data with 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
hmsgHTTP Message object.

Referenced by soap_device_callback().