UPnPsdk
0.1
Universal Plug and Play +, Software Development Kit
Loading...
Searching...
No Matches
parsetools.hpp
Go to the documentation of this file.
1
#ifndef COMPA_GENLIB_NET_HTTP_PARSETOOLS_HPP
2
#define COMPA_GENLIB_NET_HTTP_PARSETOOLS_HPP
3
/*******************************************************************************
4
*
5
* Copyright (c) 2000-2003 Intel Corporation
6
* All rights reserved.
7
* Copyright (C) 2022+ GPL 3 and higher by Ingo Höft, <Ingo@Hoeft-online.de>
8
* Redistribution only with this Copyright remark. Last modified: 2024-02-07
9
*
10
* Redistribution and use in source and binary forms, with or without
11
* modification, are permitted provided that the following conditions are met:
12
*
13
* - Redistributions of source code must retain the above copyright notice,
14
* this list of conditions and the following disclaimer.
15
* - Redistributions in binary form must reproduce the above copyright notice,
16
* this list of conditions and the following disclaimer in the documentation
17
* and/or other materials provided with the distribution.
18
* - Neither name of Intel Corporation nor the names of its contributors
19
* may be used to endorse or promote products derived from this software
20
* without specific prior written permission.
21
*
22
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INTEL OR
26
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
27
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
28
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
29
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
30
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
31
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
*
34
******************************************************************************/
47
int
has_xml_content_type
(
//
48
http_message_t
* hmsg
49
);
50
#endif
/* COMPA_GENLIB_NET_HTTP_PARSETOOLS_HPP */
http_message_t
Structure of an HTTP message.
Definition
httpparser.hpp:223
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.
Definition
parsetools.cpp:45
Compa
src
inc
parsetools.hpp
Generated by
1.9.8