ELinks 0.18.0
|
#include "main/timer.h"
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 } |
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) |
int | can_read (int fd) |
int | can_write (int fd) |
void | terminate_select (void) |
const char * | get_libevent_version (void) |
Variables | |
pid_t | signal_pid |
int | signal_pipe [2] |
#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 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 | ) |
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 ) |
void terminate_select | ( | void | ) |
|
extern |
|
extern |