Deleted Added
full compact
rbt.h (193149) rbt.h (204619)
1/*
2 * Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 1999-2002 Internet Software Consortium.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 * PERFORMANCE OF THIS SOFTWARE.
16 */
17
1/*
2 * Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
3 * Copyright (C) 1999-2002 Internet Software Consortium.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 * PERFORMANCE OF THIS SOFTWARE.
16 */
17
18/* $Id: rbt.h,v 1.71.48.2 2009/01/18 23:47:41 tbox Exp $ */
18/* $Id: rbt.h,v 1.71.48.3 2009/10/20 05:06:04 marka Exp $ */
19
20#ifndef DNS_RBT_H
21#define DNS_RBT_H 1
22
23/*! \file dns/rbt.h */
24
25#include <isc/lang.h>
26#include <isc/magic.h>

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

100 * another bit for "attributes", which doesn't yet need any more).
101 *
102 * In each case below the "range" indicated is what's _necessary_ for
103 * the bitfield to hold, not what it actually _can_ hold.
104 */
105 unsigned int is_root : 1; /*%< range is 0..1 */
106 unsigned int color : 1; /*%< range is 0..1 */
107 unsigned int find_callback : 1; /*%< range is 0..1 */
19
20#ifndef DNS_RBT_H
21#define DNS_RBT_H 1
22
23/*! \file dns/rbt.h */
24
25#include <isc/lang.h>
26#include <isc/magic.h>

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

100 * another bit for "attributes", which doesn't yet need any more).
101 *
102 * In each case below the "range" indicated is what's _necessary_ for
103 * the bitfield to hold, not what it actually _can_ hold.
104 */
105 unsigned int is_root : 1; /*%< range is 0..1 */
106 unsigned int color : 1; /*%< range is 0..1 */
107 unsigned int find_callback : 1; /*%< range is 0..1 */
108 unsigned int attributes : 3; /*%< range is 0..2 */
108 unsigned int attributes : 4; /*%< range is 0..2 */
109 unsigned int nsec3 : 1; /*%< range is 0..1 */
110 unsigned int namelen : 8; /*%< range is 1..255 */
111 unsigned int offsetlen : 8; /*%< range is 1..128 */
109 unsigned int nsec3 : 1; /*%< range is 0..1 */
110 unsigned int namelen : 8; /*%< range is 1..255 */
111 unsigned int offsetlen : 8; /*%< range is 1..128 */
112 unsigned int padbytes : 9; /*%< range is 0..380 */
112 unsigned int oldnamelen : 8; /*%< range is 1..255 */
113 /*@}*/
114
115#ifdef DNS_RBT_USEHASH
116 unsigned int hashval;
117#endif
118
119 /*@{*/
120 /*!

--- 819 unchanged lines hidden ---
113 /*@}*/
114
115#ifdef DNS_RBT_USEHASH
116 unsigned int hashval;
117#endif
118
119 /*@{*/
120 /*!

--- 819 unchanged lines hidden ---