Deleted Added
full compact
resolv.h (170244) resolv.h (186090)
1/*
2 * Copyright (c) 1983, 1987, 1989
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 36 unchanged lines hidden (view full) ---

45 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
46 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
47 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
48 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
49 */
50
51/*%
52 * @(#)resolv.h 8.1 (Berkeley) 6/2/93
1/*
2 * Copyright (c) 1983, 1987, 1989
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 36 unchanged lines hidden (view full) ---

45 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
46 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
47 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
48 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
49 */
50
51/*%
52 * @(#)resolv.h 8.1 (Berkeley) 6/2/93
53 * $Id: resolv.h,v 1.19.18.3 2005/08/25 04:43:51 marka Exp $
54 * $FreeBSD: head/include/resolv.h 170244 2007-06-03 17:20:27Z ume $
53 * $Id: resolv.h,v 1.19.18.4 2008/04/03 23:15:15 marka Exp $
54 * $FreeBSD: head/include/resolv.h 186090 2008-12-14 19:39:53Z ume $
55 */
56
57#ifndef _RESOLV_H_
58#define _RESOLV_H_
59
60#include <sys/param.h>
61#include <sys/types.h>
62#include <sys/cdefs.h>

--- 177 unchanged lines hidden (view full) ---

240#define RES_INSECURE1 0x00000400 /*%< type 1 security disabled */
241#define RES_INSECURE2 0x00000800 /*%< type 2 security disabled */
242#define RES_NOALIASES 0x00001000 /*%< shuts off HOSTALIASES feature */
243#define RES_USE_INET6 0x00002000 /*%< use/map IPv6 in gethostbyname() */
244#define RES_ROTATE 0x00004000 /*%< rotate ns list after each query */
245#define RES_NOCHECKNAME 0x00008000 /*%< do not check names for sanity. */
246#define RES_KEEPTSIG 0x00010000 /*%< do not strip TSIG records */
247#define RES_BLAST 0x00020000 /*%< blast all recursive servers */
55 */
56
57#ifndef _RESOLV_H_
58#define _RESOLV_H_
59
60#include <sys/param.h>
61#include <sys/types.h>
62#include <sys/cdefs.h>

--- 177 unchanged lines hidden (view full) ---

240#define RES_INSECURE1 0x00000400 /*%< type 1 security disabled */
241#define RES_INSECURE2 0x00000800 /*%< type 2 security disabled */
242#define RES_NOALIASES 0x00001000 /*%< shuts off HOSTALIASES feature */
243#define RES_USE_INET6 0x00002000 /*%< use/map IPv6 in gethostbyname() */
244#define RES_ROTATE 0x00004000 /*%< rotate ns list after each query */
245#define RES_NOCHECKNAME 0x00008000 /*%< do not check names for sanity. */
246#define RES_KEEPTSIG 0x00010000 /*%< do not strip TSIG records */
247#define RES_BLAST 0x00020000 /*%< blast all recursive servers */
248#define RES_NSID 0x00040000 /*%< request name server ID */
248#define RES_NOTLDQUERY 0x00100000 /*%< don't unqualified name as a tld */
249#define RES_USE_DNSSEC 0x00200000 /*%< use DNSSEC using OK bit in OPT */
250/* #define RES_DEBUG2 0x00400000 */ /* nslookup internal */
251/* KAME extensions: use higher bit to avoid conflict with ISC use */
252#define RES_USE_DNAME 0x10000000 /*%< use DNAME */
253#define RES_USE_EDNS0 0x40000000 /*%< use EDNS0 if configured */
254#define RES_NO_NIBBLE2 0x80000000 /*%< disable alternate nibble lookup */
255

--- 125 unchanged lines hidden (view full) ---

381#define res_nisourserver __res_nisourserver
382#define res_ownok __res_ownok
383#define res_queriesmatch __res_queriesmatch
384#define res_randomid __res_randomid
385#define sym_ntop __sym_ntop
386#define sym_ntos __sym_ntos
387#define sym_ston __sym_ston
388#define res_nopt __res_nopt
249#define RES_NOTLDQUERY 0x00100000 /*%< don't unqualified name as a tld */
250#define RES_USE_DNSSEC 0x00200000 /*%< use DNSSEC using OK bit in OPT */
251/* #define RES_DEBUG2 0x00400000 */ /* nslookup internal */
252/* KAME extensions: use higher bit to avoid conflict with ISC use */
253#define RES_USE_DNAME 0x10000000 /*%< use DNAME */
254#define RES_USE_EDNS0 0x40000000 /*%< use EDNS0 if configured */
255#define RES_NO_NIBBLE2 0x80000000 /*%< disable alternate nibble lookup */
256

--- 125 unchanged lines hidden (view full) ---

382#define res_nisourserver __res_nisourserver
383#define res_ownok __res_ownok
384#define res_queriesmatch __res_queriesmatch
385#define res_randomid __res_randomid
386#define sym_ntop __sym_ntop
387#define sym_ntos __sym_ntos
388#define sym_ston __sym_ston
389#define res_nopt __res_nopt
390#define res_nopt_rdata __res_nopt_rdata
389#define res_ndestroy __res_ndestroy
390#define res_nametoclass __res_nametoclass
391#define res_nametotype __res_nametotype
392#define res_setservers __res_setservers
393#define res_getservers __res_getservers
394#if 0
395#define res_buildprotolist __res_buildprotolist
396#define res_destroyprotolist __res_destroyprotolist

--- 72 unchanged lines hidden (view full) ---

469int res_findzonecut(res_state, const char *, ns_class, int,
470 char *, size_t, struct in_addr *, int);
471#endif
472int res_findzonecut2(res_state, const char *, ns_class, int,
473 char *, size_t,
474 union res_sockaddr_union *, int);
475void res_nclose(res_state);
476int res_nopt(res_state, int, u_char *, int, int);
391#define res_ndestroy __res_ndestroy
392#define res_nametoclass __res_nametoclass
393#define res_nametotype __res_nametotype
394#define res_setservers __res_setservers
395#define res_getservers __res_getservers
396#if 0
397#define res_buildprotolist __res_buildprotolist
398#define res_destroyprotolist __res_destroyprotolist

--- 72 unchanged lines hidden (view full) ---

471int res_findzonecut(res_state, const char *, ns_class, int,
472 char *, size_t, struct in_addr *, int);
473#endif
474int res_findzonecut2(res_state, const char *, ns_class, int,
475 char *, size_t,
476 union res_sockaddr_union *, int);
477void res_nclose(res_state);
478int res_nopt(res_state, int, u_char *, int, int);
479int res_nopt_rdata(res_state, int, u_char *, int, u_char *,
480 u_short, u_short, u_char *);
477void res_send_setqhook(res_send_qhook);
478void res_send_setrhook(res_send_rhook);
479int __res_vinit(res_state, int);
480#if 0
481void res_destroyservicelist(void);
482const char * res_servicename(u_int16_t, const char *);
483const char * res_protocolname(int);
484void res_destroyprotolist(void);

--- 14 unchanged lines hidden ---
481void res_send_setqhook(res_send_qhook);
482void res_send_setrhook(res_send_rhook);
483int __res_vinit(res_state, int);
484#if 0
485void res_destroyservicelist(void);
486const char * res_servicename(u_int16_t, const char *);
487const char * res_protocolname(int);
488void res_destroyprotolist(void);

--- 14 unchanged lines hidden ---