Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
e672951e
Commit
e672951e
authored
Apr 01, 2008
by
Automatic Updater
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update copyright notice
parent
713a5e30
Changes
36
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
265 additions
and
265 deletions
+265
-265
bin/dnssec/Makefile.in
bin/dnssec/Makefile.in
+2
-2
bin/named/bind9.xsl
bin/named/bind9.xsl
+2
-2
bin/named/update.c
bin/named/update.c
+8
-8
lib/dns/Makefile.in
lib/dns/Makefile.in
+2
-2
lib/dns/db.c
lib/dns/db.c
+10
-10
lib/dns/diff.c
lib/dns/diff.c
+5
-5
lib/dns/dst_api.c
lib/dns/dst_api.c
+3
-3
lib/dns/dst_internal.h
lib/dns/dst_internal.h
+3
-3
lib/dns/dst_openssl.h
lib/dns/dst_openssl.h
+3
-3
lib/dns/dst_parse.h
lib/dns/dst_parse.h
+2
-2
lib/dns/dst_result.c
lib/dns/dst_result.c
+2
-2
lib/dns/hmac_link.c
lib/dns/hmac_link.c
+8
-8
lib/dns/include/dns/db.h
lib/dns/include/dns/db.h
+6
-6
lib/dns/include/dns/diff.h
lib/dns/include/dns/diff.h
+2
-2
lib/dns/include/dns/journal.h
lib/dns/include/dns/journal.h
+2
-2
lib/dns/include/dns/master.h
lib/dns/include/dns/master.h
+3
-3
lib/dns/include/dns/masterdump.h
lib/dns/include/dns/masterdump.h
+10
-10
lib/dns/include/dns/rdata.h
lib/dns/include/dns/rdata.h
+4
-4
lib/dns/include/dns/rdataset.h
lib/dns/include/dns/rdataset.h
+5
-5
lib/dns/include/dns/rdataslab.h
lib/dns/include/dns/rdataslab.h
+4
-4
lib/dns/include/dst/dst.h
lib/dns/include/dst/dst.h
+5
-5
lib/dns/include/dst/result.h
lib/dns/include/dst/result.h
+2
-2
lib/dns/journal.c
lib/dns/journal.c
+12
-12
lib/dns/masterdump.c
lib/dns/masterdump.c
+4
-4
lib/dns/name.c
lib/dns/name.c
+12
-12
lib/dns/openssl_link.c
lib/dns/openssl_link.c
+8
-8
lib/dns/openssldh_link.c
lib/dns/openssldh_link.c
+3
-3
lib/dns/openssldsa_link.c
lib/dns/openssldsa_link.c
+8
-8
lib/dns/opensslrsa_link.c
lib/dns/opensslrsa_link.c
+9
-9
lib/dns/rbtdb.c
lib/dns/rbtdb.c
+45
-45
lib/dns/rdata.c
lib/dns/rdata.c
+12
-12
lib/dns/rdataset.c
lib/dns/rdataset.c
+5
-5
lib/dns/rdataslab.c
lib/dns/rdataslab.c
+6
-6
lib/dns/sdlz.c
lib/dns/sdlz.c
+5
-5
lib/dns/view.c
lib/dns/view.c
+7
-7
lib/dns/zone.c
lib/dns/zone.c
+36
-36
No files found.
bin/dnssec/Makefile.in
View file @
e672951e
# Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005, 2007
, 2008
Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.3
3
2008/0
3/31 14:42:50 fdupont
Exp $
# $Id: Makefile.in,v 1.3
4
2008/0
4/01 23:47:10 tbox
Exp $
srcdir
=
@srcdir@
VPATH
=
@srcdir@
...
...
bin/named/bind9.xsl
View file @
e672951e
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2006
,
200
7
Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2006
-
200
8
Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
...
...
@@ -15,7 +15,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: bind9.xsl,v 1.1
4
2008/0
3/31 05:00:29 marka
Exp $ -->
<!-- $Id: bind9.xsl,v 1.1
5
2008/0
4/01 23:47:10 tbox
Exp $ -->
<xsl:stylesheet
version=
"1.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
...
...
bin/named/update.c
View file @
e672951e
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: update.c,v 1.14
3
2008/04/01
01:37:24 marka
Exp $ */
/* $Id: update.c,v 1.14
4
2008/04/01
23:47:10 tbox
Exp $ */
#include <config.h>
...
...
@@ -1591,7 +1591,7 @@ has_opt_bit(dns_db_t *db, dns_dbversion_t *version, dns_dbnode_t *node) {
dns_rdata_t
rdata
=
DNS_RDATA_INIT
;
dns_rdataset_t
rdataset
;
isc_boolean_t
has_bit
=
ISC_FALSE
;
dns_rdataset_init
(
&
rdataset
);
CHECK
(
dns_db_findrdataset
(
db
,
node
,
version
,
dns_rdatatype_nsec
,
dns_rdatatype_none
,
0
,
&
rdataset
,
NULL
));
...
...
@@ -1843,7 +1843,7 @@ del_keysigs(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
isc_boolean_t
found
;
fprintf
(
stderr
,
"del_keysigs
\n
"
);
dns_rdataset_init
(
&
rdataset
);
result
=
dns_db_findnode
(
db
,
name
,
ISC_FALSE
,
&
node
);
...
...
@@ -1878,7 +1878,7 @@ fprintf(stderr, "del_keysigs\n");
* Just skip the record for now.
*/
break
;
}
}
result
=
update_one_rr
(
db
,
ver
,
diff
,
DNS_DIFFOP_DEL
,
name
,
rdataset
.
ttl
,
&
rdata
);
...
...
@@ -2569,10 +2569,10 @@ add_signing_records(dns_db_t *db, dns_name_t *name, dns_dbversion_t *ver,
(
DNS_KEYFLAG_OWNERMASK
|
DNS_KEYTYPE_NOAUTH
))
!=
DNS_KEYOWNER_ZONE
)
continue
;
dns_rdata_toregion
(
&
tuple
->
rdata
,
&
r
);
keyid
=
dst_region_computeid
(
&
r
,
dnskey
.
algorithm
);
buf
[
0
]
=
dnskey
.
algorithm
;
buf
[
1
]
=
(
keyid
&
0xff00
)
>>
8
;
buf
[
2
]
=
(
keyid
&
0xff
);
...
...
@@ -3179,7 +3179,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
isc_region_t
r
;
dns_secalg_t
algorithm
;
isc_uint16_t
keyid
;
if
(
tuple
->
rdata
.
type
!=
dns_rdatatype_dnskey
||
tuple
->
op
!=
DNS_DIFFOP_ADD
)
continue
;
...
...
@@ -3193,7 +3193,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
dns_rdata_toregion
(
&
tuple
->
rdata
,
&
r
);
algorithm
=
dnskey
.
algorithm
;
keyid
=
dst_region_computeid
(
&
r
,
algorithm
);
result
=
dns_zone_signwithkey
(
zone
,
algorithm
,
keyid
);
if
(
result
!=
ISC_R_SUCCESS
)
{
update_log
(
client
,
zone
,
ISC_LOG_ERROR
,
...
...
lib/dns/Makefile.in
View file @
e672951e
# Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2003 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.16
1
2008/04/01
05:19:00 marka
Exp $
# $Id: Makefile.in,v 1.16
2
2008/04/01
23:47:10 tbox
Exp $
srcdir
=
@srcdir@
VPATH
=
@srcdir@
...
...
lib/dns/db.c
View file @
e672951e
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007
, 2008
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: db.c,v 1.8
5
2008/04/01
0
3:
02:20 marka
Exp $ */
/* $Id: db.c,v 1.8
6
2008/04/01
2
3:
47:10 tbox
Exp $ */
/*! \file */
...
...
@@ -95,7 +95,7 @@ static inline dns_dbimplementation_t *
impfind
(
const
char
*
name
)
{
dns_dbimplementation_t
*
imp
;
for
(
imp
=
ISC_LIST_HEAD
(
implementations
);
for
(
imp
=
ISC_LIST_HEAD
(
implementations
);
imp
!=
NULL
;
imp
=
ISC_LIST_NEXT
(
imp
,
link
))
if
(
strcasecmp
(
name
,
imp
->
name
)
==
0
)
...
...
@@ -558,10 +558,10 @@ dns_db_transfernode(dns_db_t *db, dns_dbnode_t **sourcep,
UNUSED
(
db
);
if
(
db
->
methods
->
transfernode
==
NULL
)
{
*
targetp
=
*
sourcep
;
*
sourcep
=
NULL
;
*
targetp
=
*
sourcep
;
*
sourcep
=
NULL
;
}
else
(
db
->
methods
->
transfernode
)(
db
,
sourcep
,
targetp
);
(
db
->
methods
->
transfernode
)(
db
,
sourcep
,
targetp
);
ENSURE
(
*
sourcep
==
NULL
);
}
...
...
@@ -726,7 +726,7 @@ dns_db_deleterdataset(dns_db_t *db, dns_dbnode_t *node,
type
,
covers
));
}
void
void
dns_db_overmem
(
dns_db_t
*
db
,
isc_boolean_t
overmem
)
{
REQUIRE
(
DNS_DB_VALID
(
db
));
...
...
@@ -752,11 +752,11 @@ dns_db_getsoaserial(dns_db_t *db, dns_dbversion_t *ver, isc_uint32_t *serialp)
dns_rdataset_init
(
&
rdataset
);
result
=
dns_db_findrdataset
(
db
,
node
,
ver
,
dns_rdatatype_soa
,
0
,
(
isc_stdtime_t
)
0
,
&
rdataset
,
NULL
);
if
(
result
!=
ISC_R_SUCCESS
)
if
(
result
!=
ISC_R_SUCCESS
)
goto
freenode
;
result
=
dns_rdataset_first
(
&
rdataset
);
if
(
result
!=
ISC_R_SUCCESS
)
if
(
result
!=
ISC_R_SUCCESS
)
goto
freerdataset
;
dns_rdataset_current
(
&
rdataset
,
&
rdata
);
result
=
dns_rdataset_next
(
&
rdataset
);
...
...
@@ -809,7 +809,7 @@ dns_db_register(const char *name, dns_dbcreatefunc_t create, void *driverarg,
RWUNLOCK
(
&
implock
,
isc_rwlocktype_write
);
return
(
ISC_R_EXISTS
);
}
imp
=
isc_mem_get
(
mctx
,
sizeof
(
dns_dbimplementation_t
));
if
(
imp
==
NULL
)
{
RWUNLOCK
(
&
implock
,
isc_rwlocktype_write
);
...
...
lib/dns/diff.c
View file @
e672951e
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007
, 2008
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: diff.c,v 1.1
5
2008/04/01
01:37:24 marka
Exp $ */
/* $Id: diff.c,v 1.1
6
2008/04/01
23:47:10 tbox
Exp $ */
/*! \file */
...
...
@@ -212,7 +212,7 @@ setresign(dns_rdataset_t *modified, dns_diffop_t op) {
when
=
sig
.
timesigned
+
delta
;
}
dns_rdata_reset
(
&
rdata
);
result
=
dns_rdataset_next
(
modified
);
while
(
result
==
ISC_R_SUCCESS
)
{
dns_rdataset_current
(
modified
,
&
rdata
);
...
...
@@ -320,7 +320,7 @@ diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver,
sizeof
(
classbuf
));
if
(
t
->
ttl
!=
rdl
.
ttl
&&
warn
)
isc_log_write
(
DIFF_COMMON_LOGARGS
,
ISC_LOG_WARNING
,
ISC_LOG_WARNING
,
"'%s/%s/%s': TTL differs in "
"rdataset, adjusting "
"%lu -> %lu"
,
...
...
@@ -384,7 +384,7 @@ diff_apply(dns_diff_t *diff, dns_db_t *db, dns_dbversion_t *ver,
resign
);
}
}
else
if
(
result
==
DNS_R_UNCHANGED
)
{
/*
/*
* This will not happen when executing a
* dynamic update, because that code will
* generate strictly minimal diffs.
...
...
lib/dns/dst_api.c
View file @
e672951e
/*
* Portions Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -31,7 +31,7 @@
/*
* Principal Author: Brian Wellington
* $Id: dst_api.c,v 1.1
3
2008/0
3/31 14:42:51 fdupont
Exp $
* $Id: dst_api.c,v 1.1
4
2008/0
4/01 23:47:10 tbox
Exp $
*/
/*! \file */
...
...
@@ -665,7 +665,7 @@ isc_result_t
dst_key_fromlabel
(
dns_name_t
*
name
,
int
alg
,
unsigned
int
flags
,
unsigned
int
protocol
,
dns_rdataclass_t
rdclass
,
const
char
*
engine
,
const
char
*
label
,
const
char
*
pin
,
isc_mem_t
*
mctx
,
dst_key_t
**
keyp
)
isc_mem_t
*
mctx
,
dst_key_t
**
keyp
)
{
dst_key_t
*
key
;
isc_result_t
result
;
...
...
lib/dns/dst_internal.h
View file @
e672951e
/*
* Portions Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -29,7 +29,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dst_internal.h,v 1.1
0
2008/0
3/31 14:42:51 fdupont
Exp $ */
/* $Id: dst_internal.h,v 1.1
1
2008/0
4/01 23:47:10 tbox
Exp $ */
#ifndef DST_DST_INTERNAL_H
#define DST_DST_INTERNAL_H 1
...
...
@@ -110,7 +110,7 @@ struct dst_key {
dst_hmacsha256_key_t
*
hmacsha256
;
dst_hmacsha384_key_t
*
hmacsha384
;
dst_hmacsha512_key_t
*
hmacsha512
;
}
keydata
;
/*%< pointer to key in crypto pkg fmt */
dst_func_t
*
func
;
/*%< crypto package specific functions */
};
...
...
lib/dns/dst_openssl.h
View file @
e672951e
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007
, 2008
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dst_openssl.h,v 1.
6
2008/0
3/31 14:42:51 fdupont
Exp $ */
/* $Id: dst_openssl.h,v 1.
7
2008/0
4/01 23:47:10 tbox
Exp $ */
#ifndef DST_OPENSSL_H
#define DST_OPENSSL_H 1
...
...
@@ -31,7 +31,7 @@ dst__openssl_toresult(isc_result_t fallback);
ENGINE
*
dst__openssl_getengine
(
const
char
*
name
);
isc_result_t
isc_result_t
dst__openssl_setdefault
(
const
char
*
name
);
ISC_LANG_ENDDECLS
...
...
lib/dns/dst_parse.h
View file @
e672951e
/*
* Portions Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -29,7 +29,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dst_parse.h,v 1.
9
2008/0
3/31 14:42:51 fdupont
Exp $ */
/* $Id: dst_parse.h,v 1.
10
2008/0
4/01 23:47:10 tbox
Exp $ */
/*! \file */
#ifndef DST_DST_PARSE_H
...
...
lib/dns/dst_result.c
View file @
e672951e
/*
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007
, 2008
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -17,7 +17,7 @@
/*%
* Principal Author: Brian Wellington
* $Id: dst_result.c,v 1.
6
2008/0
3/31 14:42:51 fdupont
Exp $
* $Id: dst_result.c,v 1.
7
2008/0
4/01 23:47:10 tbox
Exp $
*/
#include <config.h>
...
...
lib/dns/hmac_link.c
View file @
e672951e
/*
* Portions Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -31,7 +31,7 @@
/*
* Principal Author: Brian Wellington
* $Id: hmac_link.c,v 1.1
0
2008/0
3/31 14:42:51 fdupont
Exp $
* $Id: hmac_link.c,v 1.1
1
2008/0
4/01 23:47:10 tbox
Exp $
*/
#include <config.h>
...
...
@@ -285,7 +285,7 @@ hmacmd5_parse(dst_key_t *key, isc_lex_t *lexer) {
switch
(
priv
.
elements
[
i
].
tag
)
{
case
TAG_HMACMD5_KEY
:
isc_buffer_init
(
&
b
,
priv
.
elements
[
i
].
data
,
priv
.
elements
[
i
].
length
);
priv
.
elements
[
i
].
length
);
isc_buffer_add
(
&
b
,
priv
.
elements
[
i
].
length
);
tresult
=
hmacmd5_fromdns
(
key
,
&
b
);
if
(
tresult
!=
ISC_R_SUCCESS
)
...
...
@@ -555,7 +555,7 @@ hmacsha1_parse(dst_key_t *key, isc_lex_t *lexer) {
switch
(
priv
.
elements
[
i
].
tag
)
{
case
TAG_HMACSHA1_KEY
:
isc_buffer_init
(
&
b
,
priv
.
elements
[
i
].
data
,
priv
.
elements
[
i
].
length
);
priv
.
elements
[
i
].
length
);
isc_buffer_add
(
&
b
,
priv
.
elements
[
i
].
length
);
tresult
=
hmacsha1_fromdns
(
key
,
&
b
);
if
(
tresult
!=
ISC_R_SUCCESS
)
...
...
@@ -825,7 +825,7 @@ hmacsha224_parse(dst_key_t *key, isc_lex_t *lexer) {
switch
(
priv
.
elements
[
i
].
tag
)
{
case
TAG_HMACSHA224_KEY
:
isc_buffer_init
(
&
b
,
priv
.
elements
[
i
].
data
,
priv
.
elements
[
i
].
length
);
priv
.
elements
[
i
].
length
);
isc_buffer_add
(
&
b
,
priv
.
elements
[
i
].
length
);
tresult
=
hmacsha224_fromdns
(
key
,
&
b
);
if
(
tresult
!=
ISC_R_SUCCESS
)
...
...
@@ -1095,7 +1095,7 @@ hmacsha256_parse(dst_key_t *key, isc_lex_t *lexer) {
switch
(
priv
.
elements
[
i
].
tag
)
{
case
TAG_HMACSHA256_KEY
:
isc_buffer_init
(
&
b
,
priv
.
elements
[
i
].
data
,
priv
.
elements
[
i
].
length
);
priv
.
elements
[
i
].
length
);
isc_buffer_add
(
&
b
,
priv
.
elements
[
i
].
length
);
tresult
=
hmacsha256_fromdns
(
key
,
&
b
);
if
(
tresult
!=
ISC_R_SUCCESS
)
...
...
@@ -1365,7 +1365,7 @@ hmacsha384_parse(dst_key_t *key, isc_lex_t *lexer) {
switch
(
priv
.
elements
[
i
].
tag
)
{
case
TAG_HMACSHA384_KEY
:
isc_buffer_init
(
&
b
,
priv
.
elements
[
i
].
data
,
priv
.
elements
[
i
].
length
);
priv
.
elements
[
i
].
length
);
isc_buffer_add
(
&
b
,
priv
.
elements
[
i
].
length
);
tresult
=
hmacsha384_fromdns
(
key
,
&
b
);
if
(
tresult
!=
ISC_R_SUCCESS
)
...
...
@@ -1635,7 +1635,7 @@ hmacsha512_parse(dst_key_t *key, isc_lex_t *lexer) {
switch
(
priv
.
elements
[
i
].
tag
)
{
case
TAG_HMACSHA512_KEY
:
isc_buffer_init
(
&
b
,
priv
.
elements
[
i
].
data
,
priv
.
elements
[
i
].
length
);
priv
.
elements
[
i
].
length
);
isc_buffer_add
(
&
b
,
priv
.
elements
[
i
].
length
);
tresult
=
hmacsha512_fromdns
(
key
,
&
b
);
if
(
tresult
!=
ISC_R_SUCCESS
)
...
...
lib/dns/include/dns/db.h
View file @
e672951e
/*
* Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: db.h,v 1.9
0
2008/04/01
01:37:25 marka
Exp $ */
/* $Id: db.h,v 1.9
1
2008/04/01
23:47:10 tbox
Exp $ */
#ifndef DNS_DB_H
#define DNS_DB_H 1
...
...
@@ -164,7 +164,7 @@ typedef isc_result_t
dns_dbtype_t
type
,
dns_rdataclass_t
rdclass
,
unsigned
int
argc
,
char
*
argv
[],
void
*
driverarg
,
dns_db_t
**
dbp
);
#define DNS_DB_MAGIC ISC_MAGIC('D','N','S','D')
#define DNS_DB_VALID(db) ISC_MAGIC_VALID(db, DNS_DB_MAGIC)
...
...
@@ -811,7 +811,7 @@ dns_db_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
* the negative caching proof.
*
* \li #DNS_R_EMPTYNAME The name exists but there is
* no data at the name.
* no data at the name.
*
* \li #DNS_R_COVERINGNSEC The returned data is a NSEC
* that potentially covers 'name'.
...
...
@@ -909,7 +909,7 @@ dns_db_detachnode(dns_db_t *db, dns_dbnode_t **nodep);
*/
void
dns_db_transfernode
(
dns_db_t
*
db
,
dns_dbnode_t
**
sourcep
,
dns_db_transfernode
(
dns_db_t
*
db
,
dns_dbnode_t
**
sourcep
,
dns_dbnode_t
**
targetp
);
/*%<
* Transfer a node between pointer.
...
...
@@ -1377,7 +1377,7 @@ dns_db_resigned(dns_db_t *db, dns_rdataset_t *rdataset,
dns_dbversion_t
*
version
);
/*%<
* Mark 'rdataset' as not being available to be returned by
* dns_db_getsigningtime(). If the changes associated with 'version'
* dns_db_getsigningtime(). If the changes associated with 'version'
* are committed this will be permanent. If the version is not committed
* this change will be rolled back when the version is closed.
*
...
...
lib/dns/include/dns/diff.h
View file @
e672951e
/*
* Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: diff.h,v 1.1
3
2008/04/01
01:37:25 marka
Exp $ */
/* $Id: diff.h,v 1.1
4
2008/04/01
23:47:10 tbox
Exp $ */
#ifndef DNS_DIFF_H
#define DNS_DIFF_H 1
...
...
lib/dns/include/dns/journal.h
View file @
e672951e
/*
* Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: journal.h,v 1.3
2
2008/04/01
01:37:25 marka
Exp $ */
/* $Id: journal.h,v 1.3
3
2008/04/01
23:47:10 tbox
Exp $ */
#ifndef DNS_JOURNAL_H
#define DNS_JOURNAL_H 1
...
...
lib/dns/include/dns/master.h
View file @
e672951e
/*
* Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: master.h,v 1.
49
2008/04/01
01:37:25 marka
Exp $ */
/* $Id: master.h,v 1.
50
2008/04/01
23:47:10 tbox
Exp $ */
#ifndef DNS_MASTER_H
#define DNS_MASTER_H 1
...
...
@@ -42,7 +42,7 @@
#define DNS_MASTER_HINT 0x00000010
/*%< Loading a hint master file. */
#define DNS_MASTER_SLAVE 0x00000020
/*%< Loading a slave master file. */
#define DNS_MASTER_CHECKNS 0x00000040
/*%<
* Check NS records to see
* Check NS records to see
* if they are an address
*/
#define DNS_MASTER_FATALNS 0x00000080
/*%<
...
...
lib/dns/include/dns/masterdump.h
View file @
e672951e
/*
* Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: masterdump.h,v 1.4
0
2008/04/01
01:37:25 marka
Exp $ */
/* $Id: masterdump.h,v 1.4
1
2008/04/01
23:47:10 tbox
Exp $ */
#ifndef DNS_MASTERDUMP_H
#define DNS_MASTERDUMP_H 1
...
...
@@ -95,10 +95,10 @@ typedef struct dns_master_style dns_master_style_t;
#define DNS_STYLEFLAG_NO_TTL 0x01000000U
/*% Never print the CLASS. */
#define DNS_STYLEFLAG_NO_CLASS 0x02000000U
#define DNS_STYLEFLAG_NO_CLASS 0x02000000U
/*% Report re-signing time. */
#define DNS_STYLEFLAG_RESIGN 0x04000000U
#define DNS_STYLEFLAG_RESIGN 0x04000000U
ISC_LANG_BEGINDECLS
...
...
@@ -122,8 +122,8 @@ LIBDNS_EXTERNAL_DATA extern const dns_master_style_t dns_master_style_default;
LIBDNS_EXTERNAL_DATA
extern
const
dns_master_style_t
dns_master_style_full
;
/*%
* A master file style that prints explicit TTL values on each
* record line, never using $TTL statements. The TTL has a tab
* A master file style that prints explicit TTL values on each
* record line, never using $TTL statements. The TTL has a tab
* stop of its own, but the class and type share one.
*/
LIBDNS_EXTERNAL_DATA
extern
const
dns_master_style_t
...
...
@@ -136,9 +136,9 @@ LIBDNS_EXTERNAL_DATA extern const dns_master_style_t
LIBDNS_EXTERNAL_DATA
extern
const
dns_master_style_t
dns_master_style_cache
;
/*%
* A master style that prints name, ttl, class, type, and value on
* every line. Similar to explicitttl above, but more verbose.
* Intended for generating master files which can be easily parsed
* A master style that prints name, ttl, class, type, and value on
* every line. Similar to explicitttl above, but more verbose.
* Intended for generating master files which can be easily parsed
* by perl scripts and similar applications.
*/
LIBDNS_EXTERNAL_DATA
extern
const
dns_master_style_t
dns_master_style_simple
;
...
...
@@ -234,7 +234,7 @@ dns_master_dumptostream2(isc_mem_t *mctx, dns_db_t *db,
*\li 'task' to be valid.
*\li 'done' to be non NULL.
*\li 'dctxp' to be non NULL && '*dctxp' to be NULL.
*
*
* Returns:
*\li ISC_R_SUCCESS
*\li ISC_R_CONTINUE dns_master_dumptostreaminc() only.
...
...
lib/dns/include/dns/rdata.h
View file @
e672951e
/*
* Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdata.h,v 1.6
8
2008/04/01
01:37:25 marka
Exp $ */
/* $Id: rdata.h,v 1.6
9
2008/04/01
23:47:10 tbox
Exp $ */
#ifndef DNS_RDATA_H
#define DNS_RDATA_H 1
...
...
@@ -333,11 +333,11 @@ dns_rdata_fromtext(dns_rdata_t *rdata, dns_rdataclass_t rdclass,
*\li 'target' is a valid region.
*
*\li 'origin' if non NULL it must be absolute.
*
*
*\li 'callbacks' to be NULL or callbacks->warn and callbacks->error be
* initialized.
*
* Ensures,
* Ensures,
* if result is success:
*\li If 'rdata' is not NULL, it is attached to the target.
...
...
lib/dns/include/dns/rdataset.h
View file @
e672951e
/*
* Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdataset.h,v 1.6
3
2008/04/01
01:37:25 marka
Exp $ */
/* $Id: rdataset.h,v 1.6
4
2008/04/01
23:47:10 tbox
Exp $ */
#ifndef DNS_RDATASET_H
#define DNS_RDATASET_H 1
...
...
@@ -157,7 +157,7 @@ struct dns_rdataset {
void
*
private5
;
void
*
private6
;
/*@}*/
};
/*!
...
...
@@ -355,8 +355,8 @@ dns_rdataset_totext(dns_rdataset_t *rdataset,
* Notes:
*\li The rdata cursor position will be changed.
*
*\li The 'question' flag should normally be #ISC_FALSE. If it is
* #ISC_TRUE, the TTL and rdata fields are not printed. This is
*\li The 'question' flag should normally be #ISC_FALSE. If it is
* #ISC_TRUE, the TTL and rdata fields are not printed. This is
* for use when printing an rdata representing a question section.
*
*\li This interface is deprecated; use dns_master_rdatasettottext()
...
...
lib/dns/include/dns/rdataslab.h
View file @
e672951e
/*
* Copyright (C) 2004-200
7
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-200
8
Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdataslab.h,v 1.3
2
2008/04/01
01:37:25 marka
Exp $ */
/* $Id: rdataslab.h,v 1.3
3
2008/04/01
23:47:10 tbox
Exp $ */