#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.
Data Structures |
| 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 |
| struct optioninfo * | opt_findl (const char *opt) |
| 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) |
Variables |
| int | ov_env |
| int | ov_pipe |
| int | ov_asynch |
| int | ov_verbose |
| adns_rrtype | ov_type |
| int | ov_search |
| int | ov_qc_query |
| int | ov_qc_anshost |
| int | ov_qc_cname |
| int | ov_tcp |
| int | ov_cname |
| int | ov_format |
| char * | ov_id |
| struct perqueryflags_remember | ov_pqfr |
| optfunc | of_config |
| optfunc | of_version |
| optfunc | of_help |
| optfunc | of_type |
| optfunc | of_ptr |
| optfunc | of_reverse |
| optfunc | of_asynch_id |
| optfunc | of_cancel_id |
| adns_state | ads |
| struct outstanding_list | outstanding |
| int | rcode |
| const char * | config_text |