ReactOS 0.4.16-dev-816-g135a9a9
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <signal.h>
#include <stdarg.h>
#include <assert.h>
#include <time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "config.h"
#include "adns.h"
#include "dlist.h"
#include "client.h"
Go to the source code of this file.
Classes | |
struct | optioninfo |
struct | perqueryflags_remember |
struct | query_node |
struct | outstanding_list |
Typedefs | |
typedef void | optfunc(const struct optioninfo *oi, const char *arg, const char *arg2) |
Enumerations | |
enum | ttlmode { tm_none , tm_rel , tm_abs } |
enum | outputformat { fmt_default , fmt_simple , fmt_inline , fmt_asynch } |
Functions | |
const struct optioninfo * | opt_findl (const char *opt) |
const struct optioninfo * | opt_finds (const char **optp) |
void | opt_do (const struct optioninfo *oip, int invert, const char *arg, const char *arg2) |
void | ensure_adns_init (void) |
void | query_do (const char *domain) |
void | query_done (struct query_node *qun, adns_answer *answer) |
void | sysfail (const char *what, int errnoval) NONRETURNING |
void | usageerr (const char *what,...) NONRETURNPRINTFFORMAT(1 |
void void | outerr (void) NONRETURNING |
void * | xmalloc (size_t sz) |
char * | xstrsave (const char *str) |
Definition at line 60 of file adnshost.h.
Definition at line 40 of file adh-query.c.
Referenced by main(), and prep_query().
Definition at line 342 of file adh-opts.c.
Referenced by process_optarg().
const struct optioninfo * opt_findl | ( | const char * | opt | ) |
Definition at line 331 of file adh-opts.c.
Referenced by process_optarg().
const struct optioninfo * opt_finds | ( | const char ** | optp | ) |
Definition at line 332 of file adh-opts.c.
Referenced by process_optarg().
Definition at line 64 of file adh-main.c.
Referenced by main(), print_dnsfail(), print_status(), print_ttl(), print_withspace(), and query_done().
Definition at line 138 of file adh-query.c.
Referenced by process_optarg().
void query_done | ( | struct query_node * | qun, |
adns_answer * | answer | ||
) |
Definition at line 253 of file adh-query.c.
Referenced by adns__consistency(), adns__query_done(), adns_cancel(), and main().
Definition at line 49 of file adh-main.c.
Referenced by ensure_adns_init(), main(), of_help(), of_ptr(), of_reverse(), outerr(), print_dnsfail(), print_ttl(), printusage(), query_do(), query_done(), read_stdin(), test_SHDeleteKey(), and xmalloc().
Definition at line 27 of file util.c.
Definition at line 75 of file adh-main.c.
|
extern |
Definition at line 35 of file adh-query.c.
Referenced by _Function_class_(), addserver(), adns__autosys(), adns__consistency(), adns__debug(), adns__diag(), adns__diag_domain(), adns__fdevents(), adns__findlabel_start(), adns__internal_check(), adns__internal_submit(), adns__mkquery(), adns__mkquery_frdgram(), adns__must_gettimeofday(), adns__parse_domain(), adns__pollfds(), adns__procdgram(), adns__query_send(), adns__querysend_tcp(), adns__search_next(), adns__sigpipe_protect(), adns__sigpipe_unprotect(), adns__tcp_broken(), adns__tcp_tryconnect(), adns__timeouts(), adns__vdiag(), adns__warn(), adns_addserver(), adns_afterselect(), adns_beforeselect(), adns_cancel(), adns_ccf_search(), adns_check(), adns_checkconsistency(), adns_finish(), adns_firsttimeout(), adns_forallqueries_begin(), adns_forallqueries_next(), adns_globalsystemfailure(), adns_init(), adns_init_strcfg(), adns_numservers(), adns_processany(), adns_processexceptional(), adns_processreadable(), adns_processtimeouts(), adns_processwriteable(), adns_submit(), adns_submit_reverse(), adns_submit_reverse_any(), adns_synchronous(), adns_wait(), ccf_clearnss(), ccf_include(), ccf_nameserver(), ccf_options(), ccf_search(), ccf_sortlist(), checkc_global(), checkc_notcpbuf(), checkc_query(), checkc_queue_childw(), checkc_queue_output(), checkc_queue_tcpw(), checkc_queue_udpw(), configparseerr(), di_addr(), di_hostaddr(), di_inaddr(), di_mx(), dip_hostaddr(), dip_inaddr(), div_addr(), ensure_adns_init(), fd_event(), find(), freesearchlist(), gl_file(), gl_text(), icb_hostaddr(), icb_ptr(), init_abort(), init_begin(), init_finish(), instrum_getenv(), main(), mkquery_header(), of_ptr(), of_reverse(), prep_query(), query_alloc(), query_do(), query_simple(), quitnow(), readconfig(), readconfigenv(), readconfigenvtext(), readconfiggeneric(), readconfigtext(), saveerr(), search_sortlist(), tcp_close(), tcp_connected(), and tcp_events().
Definition at line 37 of file adh-main.c.
Referenced by ensure_adns_init(), and of_config().
|
extern |
optfunc of_cancel_id |
Definition at line 91 of file adnshost.h.
|
extern |
optfunc of_help |
Definition at line 90 of file adnshost.h.
optfunc of_ptr |
Definition at line 90 of file adnshost.h.
optfunc of_reverse |
Definition at line 90 of file adnshost.h.
optfunc of_type |
Definition at line 90 of file adnshost.h.
optfunc of_version |
Definition at line 90 of file adnshost.h.
struct outstanding_list outstanding |
int ov_asynch |
Definition at line 82 of file adnshost.h.
int ov_cname |
Definition at line 86 of file adnshost.h.
|
extern |
Definition at line 35 of file adh-opts.c.
Referenced by ensure_adns_init().
int ov_format |
Definition at line 86 of file adnshost.h.
|
extern |
Definition at line 40 of file adh-opts.c.
Referenced by of_asynch_id(), prep_query(), and quitnow().
int ov_pipe |
Definition at line 82 of file adnshost.h.
|
extern |
Definition at line 41 of file adh-opts.c.
Referenced by prep_query().
int ov_qc_anshost |
Definition at line 85 of file adnshost.h.
int ov_qc_cname |
Definition at line 85 of file adnshost.h.
int ov_qc_query |
Definition at line 85 of file adnshost.h.
|
extern |
Definition at line 38 of file adh-opts.c.
Referenced by prep_query().
|
extern |
Definition at line 39 of file adh-opts.c.
Referenced by prep_query().
|
extern |
Definition at line 37 of file adh-opts.c.
Referenced by of_ptr(), of_reverse(), of_type(), and query_do().
|
extern |
Definition at line 36 of file adh-opts.c.
Referenced by ensure_adns_init().
|
extern |
Definition at line 36 of file adh-main.c.
Referenced by adns__procdgram(), check_status(), and main().