ELinks 0.16.1.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 "terminal/terminal.h"
#include "util/error.h"
#include "util/memory.h"
#include "util/time.h"
Data Structures | |
struct | thread |
struct | bottom_half |
Macros | |
#define | EINTRLOOPX(ret_, call_, x_) |
#define | EINTRLOOP(ret_, call_) |
#define | FD_SETSIZE 1024 |
Functions | |
const char * | get_libevent_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) |
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 |
static 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(bottom_halves) } |
#define EINTRLOOP | ( | ret_, | |
call_ ) |
#define EINTRLOOPX | ( | ret_, | |
call_, | |||
x_ ) |
#define FD_SETSIZE 1024 |
int can_read | ( | int | fd | ) |
|
static |
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 | tp ) |
void * get_handler_data | ( | int | fd | ) |
const char * get_libevent_version | ( | void | ) |
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 ) |
void terminate_select | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |