GNU libmicrohttpd
1.0.6
Toggle main menu visibility
Loading...
Searching...
No Matches
response.h
Go to the documentation of this file.
1
/*
2
This file is part of libmicrohttpd
3
Copyright (C) 2007 Daniel Pittman and Christian Grothoff
4
Copyright (C) 2015-2022 Karlson2k (Evgeny Grin)
5
6
This library is free software; you can redistribute it and/or
7
modify it under the terms of the GNU Lesser General Public
8
License as published by the Free Software Foundation; either
9
version 2.1 of the License, or (at your option) any later version.
10
11
This library is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public
17
License along with this library; if not, write to the Free Software
18
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
28
29
#ifndef RESPONSE_H
30
#define RESPONSE_H
31
37
void
38
MHD_increment_response_rc
(
struct
MHD_Response
*response);
39
40
54
enum
MHD_Result
55
MHD_response_execute_upgrade_
(
struct
MHD_Response
*response,
56
struct
MHD_Connection
*connection);
57
58
70
struct
MHD_HTTP_Res_Header
*
71
MHD_get_response_element_n_
(
struct
MHD_Response
*response,
72
enum
MHD_ValueKind
kind
,
73
const
char
*key,
74
size_t
key_len);
75
90
bool
91
MHD_add_response_entry_no_check_
(
struct
MHD_Response
*response,
92
enum
MHD_ValueKind
kind
,
93
const
char
*
header
,
94
size_t
header_len,
95
const
char
*content,
96
size_t
content_len);
97
117
bool
118
MHD_add_response_entry_no_alloc_
(
struct
MHD_Response
*response,
119
enum
MHD_ValueKind
kind
,
120
char
*
header
,
121
size_t
header_len,
122
char
*content,
123
size_t
content_len);
124
125
#endif
MHD_get_response_element_n_
struct MHD_HTTP_Res_Header * MHD_get_response_element_n_(struct MHD_Response *response, enum MHD_ValueKind kind, const char *key, size_t key_len)
Definition
response.c:894
MHD_Result
MHD_Result
Definition
microhttpd.h:163
MHD_ValueKind
MHD_ValueKind
Definition
microhttpd.h:2271
MHD_add_response_entry_no_check_
bool MHD_add_response_entry_no_check_(struct MHD_Response *response, enum MHD_ValueKind kind, const char *header, size_t header_len, const char *content, size_t content_len)
Definition
response.c:207
MHD_response_execute_upgrade_
enum MHD_Result MHD_response_execute_upgrade_(struct MHD_Response *response, struct MHD_Connection *connection)
MHD_add_response_entry_no_alloc_
bool MHD_add_response_entry_no_alloc_(struct MHD_Response *response, enum MHD_ValueKind kind, char *header, size_t header_len, char *content, size_t content_len)
Definition
response.c:167
MHD_increment_response_rc
void MHD_increment_response_rc(struct MHD_Response *response)
Definition
response.c:2340
MHD_Connection
Definition
internal.h:1325
MHD_HTTP_Res_Header
Definition
internal.h:319
MHD_HTTP_Res_Header::header
char * header
Definition
internal.h:333
MHD_HTTP_Res_Header::kind
enum MHD_ValueKind kind
Definition
internal.h:353
MHD_Response
Definition
internal.h:473
src
microhttpd
response.h
Generated by
1.17.0