resolv.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright 1997 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright (c) 1983, 1987 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
/*
* Global defines and variables for resolver stub.
*/
#ifndef _RESOLV_H
#define _RESOLV_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#define MAXDNAME 256
struct state {
int retrans; /* retransmition time interval */
int retry; /* number of times to retransmit */
int options; /* option flags - see below. */
int nscount; /* number of name servers */
int ascount; /* number of addresses */
};
/*
* Resolver options
*/
#ifdef __cplusplus
}
#endif
#endif /* _RESOLV_H */