ReactOS 0.4.16-dev-329-g9223134
|
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "internal.h"
Go to the source code of this file.
Classes | |
struct | sinfo |
struct | stinfo |
Macros | |
#define | SINFO(n, s) { adns_s_##n, #n, s } |
#define | STINFO(max) { adns_s_max_##max, #max } |
Variables | |
static const struct sinfo | sinfos [] |
static const struct stinfo | stinfos [] |
void adns__debug | ( | adns_state | ads, |
int | serv, | ||
adns_query | qu, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 86 of file general.c.
Referenced by addserver(), adns__procdgram(), ccf_nameserver(), instrum_getenv(), readconfig(), readconfigenv(), readconfigenvtext(), and tcp_connected().
void adns__diag | ( | adns_state | ads, |
int | serv, | ||
adns_query | qu, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 102 of file general.c.
Referenced by addserver(), adns__findlabel_next(), adns__must_gettimeofday(), adns__procdgram(), adns__tcp_tryconnect(), adns_processreadable(), adns_wait(), ccf_options(), ccf_sortlist(), fd_event(), gl_file(), gl_text(), readconfig(), and readconfiggeneric().
const char * adns__diag_domain | ( | adns_state | ads, |
int | serv, | ||
adns_query | qu, | ||
vbuf * | vb, | ||
const byte * | dgram, | ||
int | dglen, | ||
int | cbyte | ||
) |
Definition at line 162 of file general.c.
Referenced by adns__procdgram(), and adns__vdiag().
void adns__isort | ( | void * | array, |
int | nobjs, | ||
int | sz, | ||
void * | tempbuf, | ||
int(*)(void *context, const void *a, const void *b) | needswap, | ||
void * | context | ||
) |
Definition at line 319 of file general.c.
Referenced by adns__query_done(), and pap_findaddrs().
void adns__sigpipe_protect | ( | adns_state | ads | ) |
Definition at line 340 of file general.c.
Referenced by adns__querysend_tcp(), and adns_processwriteable().
void adns__sigpipe_unprotect | ( | adns_state | ads | ) |
Definition at line 360 of file general.c.
Referenced by adns__querysend_tcp(), and adns_processwriteable().
Definition at line 131 of file general.c.
Referenced by adns__diag_domain(), adns__parse_domain_more(), adns__querysend_tcp(), adns__search_next(), adns__vbuf_appendstr(), adns_rr_info(), adns_submit(), csp_qstring(), pap_mailbox822(), and vbuf__append_quoted1035().
Definition at line 149 of file general.c.
Referenced by adns__diag_domain(), adns__search_next(), and pap_mailbox822().
Definition at line 116 of file general.c.
Referenced by adns__query_done(), adns__querysend_tcp(), adns_processreadable(), adns_processwriteable(), mkquery_header(), pap_findaddrs(), and pap_mailbox822().
Definition at line 155 of file general.c.
Referenced by adns__internal_submit(), adns__procdgram(), adns__vdiag(), adns_finish(), adns_rr_info(), and free_query_allocs().
Definition at line 112 of file general.c.
Referenced by adns__procdgram(), adns__vbuf_free(), adns__vdiag(), adns_rr_info(), init_begin(), query_alloc(), query_simple(), and query_submit().
void adns__vdiag | ( | adns_state | ads, |
const char * | pfx, | ||
adns_initflags | prevent, | ||
int | serv, | ||
adns_query | qu, | ||
const char * | fmt, | ||
va_list | al | ||
) |
Definition at line 45 of file general.c.
Referenced by adns__debug(), adns__diag(), and adns__warn().
void adns__warn | ( | adns_state | ads, |
int | serv, | ||
adns_query | qu, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 94 of file general.c.
Referenced by adns__procdgram(), adns__query_send(), adns__tcp_broken(), and adns_processreadable().
const char * adns_errabbrev | ( | adns_status | st | ) |
Definition at line 275 of file general.c.
Referenced by csp_hostaddr(), main(), and print_status().
const char * adns_errtypeabbrev | ( | adns_status | st | ) |
Definition at line 311 of file general.c.
Referenced by csp_hostaddr(), and print_status().
adns_status adns_rr_info | ( | adns_rrtype | type, |
const char ** | rrtname_r, | ||
const char ** | fmtname_r, | ||
int * | len_r, | ||
const void * | datap, | ||
char ** | data_r | ||
) |
Definition at line 186 of file general.c.
Referenced by main(), print_dnsfail(), and query_done().
const char * adns_strerror | ( | adns_status | st | ) |
Definition at line 268 of file general.c.
Referenced by adns__diag_domain(), csp_hostaddr(), dumptype(), failure_status(), main(), print_dnsfail(), and print_status().
|
static |
Definition at line 264 of file general.c.
Referenced by adns_errabbrev(), and adns_strerror().
Definition at line 298 of file general.c.
Referenced by adns_errtypeabbrev().
Referenced by findsinfo().
Referenced by adns_errtypeabbrev(), and sti_compar().