|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <errno.h>#include <stdlib.h>#include <unistd.h>#include <sys/types.h>#include <sys/time.h>#include <netdb.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include "internal.h"#include "tvarith.h"
Go to the source code of this file.
| void adns__autosys | ( | adns_state | ads, |
| struct timeval | now | ||
| ) |
| void adns__fdevents | ( | adns_state | ads, |
| const struct pollfd * | pollfds, | ||
| int | npollfds, | ||
| int | maxfd, | ||
| const fd_set * | readfds, | ||
| const fd_set * | writefds, | ||
| const fd_set * | exceptfds, | ||
| struct timeval | now, | ||
| int * | r_r | ||
| ) |
Definition at line 542 of file event.c.
Referenced by adns_afterselect(), and adns_processany().
| int adns__internal_check | ( | adns_state | ads, |
| adns_query * | query_io, | ||
| adns_answer ** | answer, | ||
| void ** | context_r | ||
| ) |
Definition at line 670 of file event.c.
Referenced by adns_check(), and adns_wait().
| void adns__must_gettimeofday | ( | adns_state | ads, |
| const struct timeval ** | now_io, | ||
| struct timeval * | tv_buf | ||
| ) |
Definition at line 149 of file event.c.
Referenced by adns_afterselect(), adns_beforeselect(), and adns_processtimeouts().
| int adns__pollfds | ( | adns_state | ads, |
| struct pollfd | pollfds_buf[MAX_POLLFDS] | ||
| ) |
Definition at line 312 of file event.c.
Referenced by adns_afterselect(), adns_beforeselect(), and adns_processany().
Definition at line 59 of file event.c.
Referenced by adns__querysend_tcp(), adns__tcp_tryconnect(), adns_globalsystemfailure(), adns_processexceptional(), adns_processreadable(), adns_processwriteable(), and tcp_events().
| void adns__tcp_tryconnect | ( | adns_state | ads, |
| struct timeval | now | ||
| ) |
Definition at line 90 of file event.c.
Referenced by query_usetcp(), and tcp_events().
| void adns__timeouts | ( | adns_state | ads, |
| int | act, | ||
| struct timeval ** | tv_io, | ||
| struct timeval * | tvbuf, | ||
| struct timeval | now | ||
| ) |
Definition at line 283 of file event.c.
Referenced by adns_beforeselect(), adns_firsttimeout(), and adns_processtimeouts().
| void adns_afterselect | ( | adns_state | ads, |
| int | maxfd, | ||
| const fd_set * | readfds, | ||
| const fd_set * | writefds, | ||
| const fd_set * | exceptfds, | ||
| const struct timeval * | now | ||
| ) |
Definition at line 595 of file event.c.
Referenced by adns_wait(), and main().
| void adns_beforeselect | ( | adns_state | ads, |
| int * | maxfd_io, | ||
| fd_set * | readfds_io, | ||
| fd_set * | writefds_io, | ||
| fd_set * | exceptfds_io, | ||
| struct timeval ** | tv_mod, | ||
| struct timeval * | tv_tobuf, | ||
| const struct timeval * | now | ||
| ) |
Definition at line 562 of file event.c.
Referenced by adns_wait(), and main().
| int adns_check | ( | adns_state | ads, |
| adns_query * | query_io, | ||
| adns_answer ** | answer_r, | ||
| void ** | context_r | ||
| ) |
Definition at line 731 of file event.c.
Referenced by checkadnsqueries(), main(), and proclog().
| void adns_firsttimeout | ( | adns_state | ads, |
| struct timeval ** | tv_io, | ||
| struct timeval * | tvbuf, | ||
| struct timeval | now | ||
| ) |
| void adns_globalsystemfailure | ( | adns_state | ads | ) |
Definition at line 619 of file event.c.
Referenced by adns__must_gettimeofday(), adns_wait(), and fd_event().
| int adns_processany | ( | adns_state | ads | ) |
Definition at line 639 of file event.c.
Referenced by adns__autosys().
| int adns_processexceptional | ( | adns_state | ads, |
| ADNS_SOCKET | fd, | ||
| const struct timeval * | now | ||
| ) |
Definition at line 504 of file event.c.
Referenced by adns__fdevents().
| int adns_processreadable | ( | adns_state | ads, |
| ADNS_SOCKET | fd, | ||
| const struct timeval * | now | ||
| ) |
Definition at line 338 of file event.c.
Referenced by adns__fdevents().
| void adns_processtimeouts | ( | adns_state | ads, |
| const struct timeval * | now | ||
| ) |
Definition at line 299 of file event.c.
Referenced by adns_afterselect(), and adns_processany().
| int adns_processwriteable | ( | adns_state | ads, |
| ADNS_SOCKET | fd, | ||
| const struct timeval * | now | ||
| ) |
Definition at line 443 of file event.c.
Referenced by adns__fdevents().
| int adns_wait | ( | adns_state | ads, |
| adns_query * | query_io, | ||
| adns_answer ** | answer_r, | ||
| void ** | context_r | ||
| ) |
Definition at line 696 of file event.c.
Referenced by adns_synchronous(), main(), and proclog().
|
static |
Definition at line 522 of file event.c.
Referenced by adns__fdevents().
Definition at line 162 of file event.c.
Referenced by adns_beforeselect(), tcp_events(), and timeouts_queue().
|
static |
Definition at line 173 of file event.c.
Referenced by inter_maxtoabs().
|
static |
Definition at line 188 of file event.c.
Referenced by tcp_events(), and timeouts_queue().
|
static |
Definition at line 50 of file event.c.
Referenced by adns__tcp_broken(), and tcp_events().
|
static |
Definition at line 78 of file event.c.
Referenced by adns__tcp_tryconnect(), and adns_processwriteable().
|
static |
Definition at line 227 of file event.c.
Referenced by adns__timeouts().
|
static |
Definition at line 205 of file event.c.
Referenced by adns__timeouts().