|
ELinks 0.19.1
|
#include <errno.h>#include <signal.h>#include <string.h>#include <sys/types.h>#include "elinks.h"#include "intl/libintl.h"#include "main/main.h"#include "main/select.h"#include "main/timer.h"#include "osdep/osdep.h"#include "osdep/signals.h"#include "session/download.h"#include "terminal/event.h"#include "terminal/kbd.h"#include "terminal/terminal.h"#include "util/error.h"#include "util/memcount.h"#include "util/memory.h"#include "util/time.h"
Data Structures | |
| struct | bottom_half |
Macros | |
| #define | FD_SETSIZE 1024 |
| #define | __STRING(x) |
| #define | SOCK_SHIFT 0 |
Functions | |
| const char * | get_libevent_version (void) |
| const char * | get_libuv_version (void) |
| int | get_file_handles_count (void) |
| int | register_bottom_half_do (select_handler_T fn, void *data) |
| void | check_bottom_halves (void) |
| select_handler_T | get_handler (int fd, enum select_handler_type tp) |
| void * | get_handler_data (int fd) |
| void | set_handlers (int fd, select_handler_T read_func, select_handler_T write_func, select_handler_T error_func, void *data, enum el_type_hint type_hint) |
| static void | periodic_redraw_all_terminals (void *data) |
| static void | try_redraw_all_terminals (void) |
| static void | clear_events (int h, int blocking) |
| static void | clear_events_ptr (void *handle) |
| void | select_loop (void(*init)(void)) |
| static int | can_read_or_write (int fd, int write) |
| int | can_read (int fd) |
| int | can_write (int fd) |
| void | terminate_select (void) |
Variables | |
| static int | n_threads = 0 |
| struct thread * | threads = NULL |
| static fd_set | w_read |
| static fd_set | w_write |
| static fd_set | w_error |
| static fd_set | x_read |
| static fd_set | x_write |
| static fd_set | x_error |
| static int | w_max |
| static struct bottom_half list | bottom_halves = { D_LIST_HEAD_EL(bottom_halves) } |
| static timer_id_T | periodic_redraw_timer = TIMER_ID_UNDEF |
| static int | was_installed_timer = 0 |
| pid_t | signal_pid |
| int | signal_pipe [2] = { -1, -1 } |
| #define __STRING | ( | x | ) |
| #define FD_SETSIZE 1024 |
| #define SOCK_SHIFT 0 |
| int can_read | ( | int | fd | ) |
|
static |
| int can_write | ( | int | fd | ) |
| void check_bottom_halves | ( | void | ) |
|
static |
|
static |
| int get_file_handles_count | ( | void | ) |
| select_handler_T get_handler | ( | int | fd, |
| enum select_handler_type | tp ) |
| void * get_handler_data | ( | int | fd | ) |
| const char * get_libevent_version | ( | void | ) |
| const char * get_libuv_version | ( | void | ) |
|
static |
| int register_bottom_half_do | ( | select_handler_T | fn, |
| void * | data ) |
| void select_loop | ( | void(* | init )(void) | ) |
| void set_handlers | ( | int | fd, |
| select_handler_T | read_func, | ||
| select_handler_T | write_func, | ||
| select_handler_T | error_func, | ||
| void * | data, | ||
| enum el_type_hint | type_hint ) |
| void terminate_select | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
| pid_t signal_pid |
| int signal_pipe[2] = { -1, -1 } |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |