ReactOS 0.4.16-dev-336-gb667d82
|
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/time.h>
#include "internal.h"
Go to the source code of this file.
void * adns__alloc_final | ( | adns_query | qu, |
size_t | sz | ||
) |
Definition at line 385 of file query.c.
Referenced by adns__makefinal_block(), and adns__makefinal_str().
void * adns__alloc_interim | ( | adns_query | qu, |
size_t | sz | ||
) |
Definition at line 342 of file query.c.
Referenced by adns__alloc_preserved(), adns__procdgram(), pa_txt(), pap_domain(), pap_findaddrs(), pap_mailbox822(), and pap_qstring().
void * adns__alloc_mine | ( | adns_query | qu, |
size_t | sz | ||
) |
Definition at line 362 of file query.c.
Referenced by adns__procdgram().
void * adns__alloc_preserved | ( | adns_query | qu, |
size_t | sz | ||
) |
Definition at line 352 of file query.c.
Referenced by adns__procdgram(), and save_owner().
adns_status adns__internal_submit | ( | adns_state | ads, |
adns_query * | query_r, | ||
const typeinfo * | typei, | ||
vbuf * | qumsg_vb, | ||
int | id, | ||
adns_queryflags | flags, | ||
struct timeval | now, | ||
const qcontext * | ctx | ||
) |
Definition at line 111 of file query.c.
Referenced by pa_ptr(), and pap_hostaddr().
void adns__makefinal_block | ( | adns_query | qu, |
void ** | blpp, | ||
size_t | sz | ||
) |
Definition at line 565 of file query.c.
Referenced by makefinal_query(), mf_manyistr(), and mfp_hostaddr().
void adns__makefinal_str | ( | adns_query | qu, |
char ** | strp | ||
) |
Definition at line 553 of file query.c.
Referenced by makefinal_query(), mf_intstr(), mf_intstrpair(), mf_manyistr(), mf_soa(), mf_str(), mf_strpair(), and mfp_hostaddr().
void adns__query_done | ( | adns_query | qu | ) |
Definition at line 503 of file query.c.
Referenced by adns__procdgram(), adns__query_fail(), icb_hostaddr(), and icb_ptr().
void adns__query_fail | ( | adns_query | qu, |
adns_status | stat | ||
) |
Definition at line 547 of file query.c.
Referenced by adns__procdgram(), adns__query_done(), adns__query_send(), adns__search_next(), adns_globalsystemfailure(), adns_submit(), icb_ptr(), query_simple(), query_submit(), tcp_events(), and timeouts_queue().
void adns__reset_preserved | ( | adns_query | qu | ) |
Definition at line 410 of file query.c.
Referenced by adns__procdgram(), adns__query_fail(), and makefinal_query().
void adns__search_next | ( | adns_state | ads, |
adns_query | qu, | ||
struct timeval | now | ||
) |
Definition at line 151 of file query.c.
Referenced by adns__procdgram(), adns_submit(), and query_simple().
void adns__transfer_interim | ( | adns_query | from, |
adns_query | to, | ||
void * | block, | ||
size_t | sz | ||
) |
Definition at line 366 of file query.c.
Referenced by icb_hostaddr().
Definition at line 458 of file query.c.
Referenced by adns__procdgram(), and pap_findaddrs().
void adns_cancel | ( | adns_query | qu | ) |
Definition at line 430 of file query.c.
Referenced by adns_finish(), adns_synchronous(), cancel_children(), and of_cancel_id().
int adns_submit | ( | adns_state | ads, |
const char * | owner, | ||
adns_rrtype | type, | ||
adns_queryflags | flags, | ||
void * | context, | ||
adns_query * | query_r | ||
) |
Definition at line 204 of file query.c.
Referenced by adns_submit_reverse_any(), adns_synchronous(), main(), query_do(), and readline().
int adns_submit_reverse | ( | adns_state | ads, |
const struct sockaddr * | addr, | ||
adns_rrtype | type, | ||
adns_queryflags | flags, | ||
void * | context, | ||
adns_query * | query_r | ||
) |
Definition at line 304 of file query.c.
Referenced by of_ptr(), and procaddr().
int adns_submit_reverse_any | ( | adns_state | ads, |
const struct sockaddr * | addr, | ||
const char * | zone, | ||
adns_rrtype | type, | ||
adns_queryflags | flags, | ||
void * | context, | ||
adns_query * | query_r | ||
) |
Definition at line 271 of file query.c.
Referenced by adns_submit_reverse(), and of_reverse().
int adns_synchronous | ( | adns_state | ads, |
const char * | owner, | ||
adns_rrtype | type, | ||
adns_queryflags | flags, | ||
adns_answer ** | answer_r | ||
) |
Definition at line 314 of file query.c.
Referenced by Query_Main().
|
static |
Definition at line 331 of file query.c.
Referenced by adns__alloc_interim(), and adns__alloc_mine().
|
static |
Definition at line 401 of file query.c.
Referenced by adns__query_done(), adns__reset_preserved(), and free_query_allocs().
|
static |
Definition at line 418 of file query.c.
Referenced by adns__query_done(), adns_cancel(), and makefinal_query().
|
static |
Definition at line 467 of file query.c.
Referenced by adns__query_done().
|
static |
Definition at line 41 of file query.c.
Referenced by adns__internal_submit(), and adns_submit().
|
static |
Definition at line 127 of file query.c.
Referenced by adns__search_next(), and adns_submit().
|
static |
Definition at line 91 of file query.c.
Referenced by adns__internal_submit(), and query_simple().
|
static |
Definition at line 190 of file query.c.
Referenced by adns__query_done(), and adns_submit().