GNU libmicrohttpd 0.9.77
|
implementation of general response functions More...
#include "internal.h"
Go to the source code of this file.
Functions | |
static bool | add_response_entry (struct MHD_Response *response, enum MHD_ValueKind kind, const char *header, const char *content) |
void | MHD_response_queue_for_destroy (struct MHD_Response *response) |
enum MHD_Bool | MHD_response_add_header (struct MHD_Response *response, const char *header, const char *content) |
enum MHD_Bool | MHD_response_add_trailer (struct MHD_Response *response, const char *footer, const char *content) |
enum MHD_Bool | MHD_response_del_header (struct MHD_Response *response, const char *header, const char *content) |
unsigned int | MHD_response_get_headers (struct MHD_Response *response, MHD_KeyValueIterator iterator, void *iterator_cls) |
const char * | MHD_response_get_header (struct MHD_Response *response, const char *key) |
implementation of general response functions
Definition in file response.c.
|
static |
Add a header or footer line to the response.
response | response to add a header to |
kind | header or footer |
header | the header to add |
content | value to add |
Definition at line 40 of file response.c.
References MHD_Response::first_header, MHD_HTTP_Header::header, MHD_HTTP_Header::kind, MHD_HTTP_Header::next, NULL, and MHD_HTTP_Header::value.
Referenced by MHD_add_response_footer(), MHD_add_response_header(), MHD_response_add_header(), and MHD_response_add_trailer().