ReactOS  0.4.14-dev-608-gd495a4f
adh-opts.c File Reference
#include "adnshost.h"
Include dependency graph for adh-opts.c:

Go to the source code of this file.

Functions

static void printusage (void)
 

Variables

int ov_env =1
 
int ov_pipe =0
 
int ov_asynch =0
 
int ov_verbose = 0
 
adns_rrtype ov_type = adns_r_none
 
int ov_search =0
 
int ov_qc_query =0
 
int ov_qc_anshost =0
 
int ov_qc_cname =1
 
int ov_tcp =0
 
int ov_cname =0
 
int ov_format =fmt_default
 
charov_id = 0
 
struct perqueryflags_remember ov_pqfr = { 1,1,1, tm_none }
 
static const struct optioninfo global_options []
 
static const struct optioninfo perquery_options []
 

Function Documentation

◆ printusage()

static void printusage ( void  )
static

Definition at line 131 of file adh-opts.c.

Variable Documentation

◆ global_options

const struct optioninfo global_options[]
static

Definition at line 43 of file adh-opts.c.

Referenced by GlobalOptions_CreateInstance(), printusage(), and test_GlobalOptions().

◆ ov_asynch

int ov_asynch =0

Definition at line 35 of file adh-opts.c.

Referenced by ensure_adns_init(), and main().

◆ ov_cname

int ov_cname =0

Definition at line 39 of file adh-opts.c.

Referenced by prep_query().

◆ ov_env

int ov_env =1

Definition at line 35 of file adh-opts.c.

Referenced by ensure_adns_init().

◆ ov_format

int ov_format =fmt_default

Definition at line 39 of file adh-opts.c.

Referenced by ensure_adns_init(), prep_query(), print_dnsfail(), and query_done().

◆ ov_id

char* ov_id = 0

Definition at line 40 of file adh-opts.c.

Referenced by of_asynch_id(), prep_query(), and quitnow().

◆ ov_pipe

int ov_pipe =0

Definition at line 35 of file adh-opts.c.

Referenced by main(), prep_query(), and read_stdin().

◆ ov_pqfr

struct perqueryflags_remember ov_pqfr = { 1,1,1, tm_none }

Definition at line 41 of file adh-opts.c.

Referenced by prep_query().

◆ ov_qc_anshost

int ov_qc_anshost =0

Definition at line 38 of file adh-opts.c.

Referenced by prep_query().

◆ ov_qc_cname

int ov_qc_cname =1

Definition at line 38 of file adh-opts.c.

Referenced by prep_query().

◆ ov_qc_query

int ov_qc_query =0

Definition at line 38 of file adh-opts.c.

Referenced by prep_query().

◆ ov_search

int ov_search =0

Definition at line 38 of file adh-opts.c.

Referenced by prep_query().

◆ ov_tcp

int ov_tcp =0

Definition at line 39 of file adh-opts.c.

Referenced by prep_query().

◆ ov_type

Definition at line 37 of file adh-opts.c.

Referenced by of_ptr(), of_reverse(), of_type(), and query_do().

◆ ov_verbose

int ov_verbose = 0

Definition at line 36 of file adh-opts.c.

Referenced by ensure_adns_init().

◆ perquery_options

const struct optioninfo perquery_options[]
static

Definition at line 79 of file adh-opts.c.

Referenced by printusage().