GNU libmicrohttpd 0.9.77
|
Header for platform missing functions. More...
#include "mhd_options.h"
Go to the source code of this file.
Macros | |
#define | MHD_strerror_(errnum) strerror ((errnum)) |
Functions | |
void * | MHD_calloc_ (size_t nelem, size_t elsize) |
Header for platform missing functions.
Provides compatibility for platforms with some missing functionality. Any functions can be implemented as macro on some platforms unless explicitly marked otherwise. Any function argument can be skipped in macro, so avoid variable modification in function parameters.
Definition in file mhd_compat.h.
Definition at line 46 of file mhd_compat.h.
MHD_calloc_ is platform-independent calloc()
Definition at line 98 of file mhd_compat.c.
References MHD_HTTP_OK, and NULL.
Referenced by add_response_entry(), add_response_header_connection(), internal_add_connection(), MHD_create_post_processor(), MHD_create_response_from_callback(), MHD_create_response_from_data(), MHD_create_response_from_iovec(), MHD_queue_auth_fail_response2(), MHD_response_for_upgrade(), MHD_response_from_buffer(), MHD_response_from_callback(), MHD_start_daemon_va(), new_connection_prepare_(), and setup_thread_pool().