|
ELinks 0.19.1
|
#include "main/timer.h"
Data Structures | |
| struct | thread |
Macros | |
| #define | EINTRLOOPX(ret_, call_, x_) |
| #define | EINTRLOOP(ret_, call_) |
| #define | register_bottom_half(fn, data) |
| #define | clear_handlers(fd) |
Typedefs | |
| typedef void(* | select_handler_T) (void *) |
Enumerations | |
| enum | select_handler_type { SELECT_HANDLER_READ , SELECT_HANDLER_WRITE , SELECT_HANDLER_ERROR } |
| enum | el_type_hint { EL_TYPE_NONE = 0 , EL_TYPE_TCP , EL_TYPE_UDP , EL_TYPE_TTY , EL_TYPE_FD , EL_TYPE_PIPE } |
Functions | |
| void | select_loop (void(*init)(void)) |
| int | get_file_handles_count (void) |
| int | register_bottom_half_do (select_handler_T work_handler, void *data) |
| void | check_bottom_halves (void) |
| select_handler_T | get_handler (int fd, enum select_handler_type type) |
| void * | get_handler_data (int fd) |
| void | set_handlers (int fd, select_handler_T read_handler, select_handler_T write_handler, select_handler_T error_handler, void *data, enum el_type_hint type_hint) |
| int | can_read (int fd) |
| int | can_write (int fd) |
| void | terminate_select (void) |
| const char * | get_libevent_version (void) |
| const char * | get_libuv_version (void) |
Variables | |
| pid_t | signal_pid |
| int | signal_pipe [2] |
| struct thread * | threads |
| #define clear_handlers | ( | fd | ) |
| #define EINTRLOOP | ( | ret_, | |
| call_ ) |
| #define EINTRLOOPX | ( | ret_, | |
| call_, | |||
| x_ ) |
| #define register_bottom_half | ( | fn, | |
| data ) |
| typedef void(* select_handler_T) (void *) |
| enum el_type_hint |
| enum select_handler_type |
| int can_read | ( | int | fd | ) |
| int can_write | ( | int | fd | ) |
| void check_bottom_halves | ( | void | ) |
| int get_file_handles_count | ( | void | ) |
| select_handler_T get_handler | ( | int | fd, |
| enum select_handler_type | type ) |
| void * get_handler_data | ( | int | fd | ) |
| const char * get_libevent_version | ( | void | ) |
| const char * get_libuv_version | ( | void | ) |
| int register_bottom_half_do | ( | select_handler_T | work_handler, |
| void * | data ) |
| void select_loop | ( | void(* | init )(void) | ) |
| void set_handlers | ( | int | fd, |
| select_handler_T | read_handler, | ||
| select_handler_T | write_handler, | ||
| select_handler_T | error_handler, | ||
| void * | data, | ||
| enum el_type_hint | type_hint ) |
| void terminate_select | ( | void | ) |
|
extern |
|
extern |
|
extern |