libUPnP  1.6.17
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.

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

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

Returns:
boolean.
Parameters:
hmsgHTTP Message object.

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

Referenced by gena_process_notification_event(), and soap_device_callback().