GNU libmicrohttpd
0.9.29
|
#include "platform.h"
Go to the source code of this file.
Macros | |
#define | MHD_socket_close_(fd) close((fd)) |
#define | MHD_socket_errno_ errno |
#define | MHD_socket_last_strerr_() strerror(errno) |
#define | MHD_strerror_(errnum) strerror((errnum)) |
#define | MHD_set_socket_errno_(errnum) errno=(errnum) |
#define | MHD_SYS_select_(n, r, w, e, t) select((n),(r),(w),(e),(t)) |
#define | MHD_pipe_(fdarr) pipe((fdarr)) |
#define | MHD_pipe_errno_ errno |
#define | MHD_pipe_last_strerror_() strerror(errno) |
#define | MHD_pipe_write_(fd, ptr, sz) write((fd), (const void*)(ptr), (sz)) |
#define | MHD_pipe_read_(fd, ptr, sz) read((fd), (void*)(ptr), (sz)) |
#define | MHD_pipe_close_(fd) close((fd)) |
#define | MHD_INVALID_PIPE_ (-1) |
#define | MHD_random_() random() |
#define MHD_INVALID_PIPE_ (-1) |
Definition at line 131 of file platform_interface.h.
Referenced by internal_add_connection(), MHD_quiesce_daemon(), MHD_resume_connection(), MHD_run_from_select(), MHD_select(), MHD_start_daemon_va(), and MHD_stop_daemon().
#define MHD_pipe_ | ( | fdarr | ) | pipe((fdarr)) |
Definition at line 80 of file platform_interface.h.
Referenced by MHD_start_daemon_va().
#define MHD_pipe_close_ | ( | fd | ) | close((fd)) |
Definition at line 124 of file platform_interface.h.
Referenced by MHD_start_daemon_va(), and MHD_stop_daemon().
#define MHD_pipe_errno_ errno |
Definition at line 92 of file platform_interface.h.
#define MHD_pipe_last_strerror_ | ( | ) | strerror(errno) |
Definition at line 100 of file platform_interface.h.
Referenced by MHD_start_daemon_va().
#define MHD_pipe_read_ | ( | fd, | |
ptr, | |||
sz | |||
) | read((fd), (void*)(ptr), (sz)) |
Definition at line 116 of file platform_interface.h.
Referenced by MHD_run_from_select().
#define MHD_pipe_write_ | ( | fd, | |
ptr, | |||
sz | |||
) | write((fd), (const void*)(ptr), (sz)) |
Definition at line 108 of file platform_interface.h.
Referenced by internal_add_connection(), MHD_resume_connection(), and MHD_stop_daemon().
#define MHD_random_ | ( | ) | random() |
Definition at line 137 of file platform_interface.h.
#define MHD_set_socket_errno_ | ( | errnum | ) | errno=(errnum) |
Definition at line 65 of file platform_interface.h.
Referenced by recv_param_adapter(), and send_param_adapter().
#define MHD_socket_close_ | ( | fd | ) | close((fd)) |
Definition at line 36 of file platform_interface.h.
Referenced by internal_add_connection(), MHD_accept_connection(), MHD_cleanup_connections(), MHD_start_daemon_va(), and MHD_stop_daemon().
#define MHD_socket_errno_ errno |
Definition at line 43 of file platform_interface.h.
Referenced by create_socket(), do_read(), do_write(), MHD_accept_connection(), MHD_connection_handle_write(), MHD_handle_connection(), MHD_select(), and send_param_adapter().
#define MHD_socket_last_strerr_ | ( | ) | strerror(errno) |
Definition at line 51 of file platform_interface.h.
Referenced by do_read(), do_write(), internal_add_connection(), make_nonblocking_noninheritable(), MHD_accept_connection(), MHD_connection_handle_write(), MHD_handle_connection(), MHD_select(), and MHD_start_daemon_va().
#define MHD_strerror_ | ( | errnum | ) | strerror((errnum)) |
Definition at line 58 of file platform_interface.h.
Referenced by internal_add_connection(), and MHD_start_daemon_va().
#define MHD_SYS_select_ | ( | n, | |
r, | |||
w, | |||
e, | |||
t | |||
) | select((n),(r),(w),(e),(t)) |
Definition at line 72 of file platform_interface.h.
Referenced by MHD_handle_connection(), and MHD_select().