GNU libmicrohttpd 1.0.2
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
29#ifndef RESPONSE_H
30#define RESPONSE_H
31
37void
39
40
54enum MHD_Result
56 struct MHD_Connection *connection);
57
58
73 const char *key,
74 size_t key_len);
75
90bool
93 const char *header,
94 size_t header_len,
95 const char *content,
96 size_t content_len);
97
117bool
119 enum MHD_ValueKind kind,
120 char *header,
121 size_t header_len,
122 char *content,
123 size_t content_len);
124
125#endif
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:889
MHD_Result
Definition microhttpd.h:163
MHD_ValueKind
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
enum MHD_Result MHD_response_execute_upgrade_(struct MHD_Response *response, struct MHD_Connection *connection)
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
void MHD_increment_response_rc(struct MHD_Response *response)
Definition response.c:2335
enum MHD_ValueKind kind
Definition internal.h:353