/* resolv.h 4.1 85/03/01 */
* Global defines and variables for resolver stub.
* Resolver configuration file. Contains the address of the
* inital name server to query and the default domain for
* non fully qualified domain names.
#define CONFFILE "/usr/local/lib/resolv.conf"
int retrans
; /* retransmition time interval */
int retry
; /* number of times to retransmit */
int options
; /* option flags - see below. */
struct sockaddr_in nsaddr
; /* address of name server */
u_short id
; /* current packet id */
char defdname
[MAXDNAME
]; /* default domain */
#define RES_INIT 0x001 /* address initialized */
#define RES_DEBUG 0x002 /* print debug messages */
#define RES_AAONLY 0x004 /* authoritative answers only */
#define RES_USEVC 0x008 /* use virtual circuit */
#define RES_PRIMARY 0x010 /* query primary server only */
#define RES_IGNTC 0x020 /* ignore trucation errors */
#define RES_RECURSE 0x040 /* recursion desired */
#define RES_DEFNAMES 0x080 /* use default domain name */
extern struct state _res
;
extern char *p_cdname(), *p_rr(), *p_type(), *p_class();