libUPnP 1.14.19
|
#include "parsetools.h"
#include "config.h"
#include "httpparser.h"
#include "membuffer.h"
#include "statcodes.h"
#include "upnputil.h"
#include <assert.h>
Functions | |
int | has_xml_content_type (http_message_t *hmsg) |
Find the header from the HTTP message and match the header for xml data. | |
Purpose: This file a function to extract the header information from an http message and then matches the data with XML data.
int has_xml_content_type | ( | http_message_t * | hmsg | ) |
Find the header from the HTTP message and match the header for xml data.
[in] | hmsg | HTTP Message object. |
References memptr::buf, memptr::length, and PARSE_OK.
Referenced by gena_process_notification_event(), and soap_device_callback().