mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
update copyright notice
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
|
# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
# Copyright (C) 2000-2002 Internet Software Consortium.
|
|
||||||
#
|
#
|
||||||
# Permission to use, copy, modify, and/or distribute this software for any
|
# Permission to use, copy, modify, and/or distribute this software for any
|
||||||
# purpose with or without fee is hereby granted, provided that the above
|
# purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -13,7 +12,7 @@
|
|||||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: Makefile.in,v 1.2 2009/06/10 00:27:21 each Exp $
|
# $Id: Makefile.in,v 1.3 2009/06/11 23:47:55 tbox Exp $
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: ddns-confgen.c,v 1.3 2009/06/11 20:01:22 jinmei Exp $ */
|
/* $Id: ddns-confgen.c,v 1.4 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -107,10 +107,10 @@ main(int argc, char **argv) {
|
|||||||
switch (ch) {
|
switch (ch) {
|
||||||
case 'a':
|
case 'a':
|
||||||
algname = isc_commandline_argument;
|
algname = isc_commandline_argument;
|
||||||
alg = alg_fromtext(algname);
|
alg = alg_fromtext(algname);
|
||||||
if (alg == DST_ALG_UNKNOWN)
|
if (alg == DST_ALG_UNKNOWN)
|
||||||
fatal("Unsupported algorithm '%s'", algname);
|
fatal("Unsupported algorithm '%s'", algname);
|
||||||
keysize = alg_bits(alg);
|
keysize = alg_bits(alg);
|
||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
usage(0);
|
usage(0);
|
||||||
@@ -154,29 +154,29 @@ main(int argc, char **argv) {
|
|||||||
argc -= isc_commandline_index;
|
argc -= isc_commandline_index;
|
||||||
argv += isc_commandline_index;
|
argv += isc_commandline_index;
|
||||||
|
|
||||||
if (argc == 1)
|
if (argc == 1)
|
||||||
zone = argv[0];
|
zone = argv[0];
|
||||||
|
|
||||||
if (argc > 1)
|
if (argc > 1)
|
||||||
usage(1);
|
usage(1);
|
||||||
|
|
||||||
DO("create memory context", isc_mem_create(0, 0, &mctx));
|
DO("create memory context", isc_mem_create(0, 0, &mctx));
|
||||||
|
|
||||||
if (self) {
|
if (self) {
|
||||||
if (zone == NULL)
|
if (zone == NULL)
|
||||||
usage(1);
|
usage(1);
|
||||||
keyname = zone;
|
keyname = zone;
|
||||||
} else {
|
} else {
|
||||||
if (keyname == NULL)
|
if (keyname == NULL)
|
||||||
keyname = DEFAULT_KEYNAME;
|
keyname = DEFAULT_KEYNAME;
|
||||||
|
|
||||||
if (zone != NULL) {
|
if (zone != NULL) {
|
||||||
len = strlen(keyname) + strlen(zone) + 2;
|
len = strlen(keyname) + strlen(zone) + 2;
|
||||||
keybuf = isc_mem_get(mctx, len);
|
keybuf = isc_mem_get(mctx, len);
|
||||||
snprintf(keybuf, len, "%s.%s", keyname, zone);
|
snprintf(keybuf, len, "%s.%s", keyname, zone);
|
||||||
keyname = (const char *) keybuf;
|
keyname = (const char *) keybuf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
isc_buffer_init(&key_txtbuffer, &key_txtsecret, sizeof(key_txtsecret));
|
isc_buffer_init(&key_txtbuffer, &key_txtsecret, sizeof(key_txtsecret));
|
||||||
|
|
||||||
@@ -227,7 +227,7 @@ update-policy {\n\
|
|||||||
grant %s subdomain %s%s ANY;\n\
|
grant %s subdomain %s%s ANY;\n\
|
||||||
};\n",
|
};\n",
|
||||||
zone, keyname, zone,
|
zone, keyname, zone,
|
||||||
zone[strlen(zone) - 1] == '.' ? "" : ".");
|
zone[strlen(zone) - 1] == '.' ? "" : ".");
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("\n\
|
printf("\n\
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
- PERFORMANCE OF THIS SOFTWARE.
|
- PERFORMANCE OF THIS SOFTWARE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- $Id: ddns-confgen.docbook,v 1.2 2009/06/10 00:27:21 each Exp $ -->
|
<!-- $Id: ddns-confgen.docbook,v 1.3 2009/06/11 23:47:55 tbox Exp $ -->
|
||||||
<refentry id="man.ddns-confgen">
|
<refentry id="man.ddns-confgen">
|
||||||
<refentryinfo>
|
<refentryinfo>
|
||||||
<date>Jan 29, 2009</date>
|
<date>Jan 29, 2009</date>
|
||||||
@@ -36,17 +36,9 @@
|
|||||||
|
|
||||||
<docinfo>
|
<docinfo>
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2004</year>
|
|
||||||
<year>2005</year>
|
|
||||||
<year>2007</year>
|
|
||||||
<year>2009</year>
|
<year>2009</year>
|
||||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
<copyright>
|
|
||||||
<year>2001</year>
|
|
||||||
<year>2003</year>
|
|
||||||
<holder>Internet Software Consortium.</holder>
|
|
||||||
</copyright>
|
|
||||||
</docinfo>
|
</docinfo>
|
||||||
|
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2001 Internet Software Consortium.
|
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -15,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: os.h,v 1.2 2009/06/10 00:55:02 each Exp $ */
|
/* $Id: os.h,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2001, 2003 Internet Software Consortium.
|
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -15,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: keygen.c,v 1.2 2009/06/10 00:27:21 each Exp $ */
|
/* $Id: keygen.c,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -70,19 +69,19 @@ alg_totext(dns_secalg_t alg) {
|
|||||||
*/
|
*/
|
||||||
dns_secalg_t
|
dns_secalg_t
|
||||||
alg_fromtext(const char *name) {
|
alg_fromtext(const char *name) {
|
||||||
if (strcmp(name, "hmac-md5") == 0)
|
if (strcmp(name, "hmac-md5") == 0)
|
||||||
return DST_ALG_HMACMD5;
|
return DST_ALG_HMACMD5;
|
||||||
if (strcmp(name, "hmac-sha1") == 0)
|
if (strcmp(name, "hmac-sha1") == 0)
|
||||||
return DST_ALG_HMACSHA1;
|
return DST_ALG_HMACSHA1;
|
||||||
if (strcmp(name, "hmac-sha224") == 0)
|
if (strcmp(name, "hmac-sha224") == 0)
|
||||||
return DST_ALG_HMACSHA224;
|
return DST_ALG_HMACSHA224;
|
||||||
if (strcmp(name, "hmac-sha256") == 0)
|
if (strcmp(name, "hmac-sha256") == 0)
|
||||||
return DST_ALG_HMACSHA256;
|
return DST_ALG_HMACSHA256;
|
||||||
if (strcmp(name, "hmac-sha384") == 0)
|
if (strcmp(name, "hmac-sha384") == 0)
|
||||||
return DST_ALG_HMACSHA384;
|
return DST_ALG_HMACSHA384;
|
||||||
if (strcmp(name, "hmac-sha512") == 0)
|
if (strcmp(name, "hmac-sha512") == 0)
|
||||||
return DST_ALG_HMACSHA512;
|
return DST_ALG_HMACSHA512;
|
||||||
return DST_ALG_UNKNOWN;
|
return DST_ALG_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*%
|
/*%
|
||||||
@@ -90,7 +89,7 @@ alg_fromtext(const char *name) {
|
|||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
alg_bits(dns_secalg_t alg) {
|
alg_bits(dns_secalg_t alg) {
|
||||||
switch (alg) {
|
switch (alg) {
|
||||||
case DST_ALG_HMACMD5:
|
case DST_ALG_HMACMD5:
|
||||||
return 128;
|
return 128;
|
||||||
case DST_ALG_HMACSHA1:
|
case DST_ALG_HMACSHA1:
|
||||||
@@ -105,7 +104,7 @@ alg_bits(dns_secalg_t alg) {
|
|||||||
return 512;
|
return 512;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*%
|
/*%
|
||||||
@@ -139,7 +138,7 @@ generate_key(isc_mem_t *mctx, const char *randomfile, dns_secalg_t alg,
|
|||||||
default:
|
default:
|
||||||
fatal("unsupported algorithm %d\n", alg);
|
fatal("unsupported algorithm %d\n", alg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DO("create entropy context", isc_entropy_create(mctx, &ectx));
|
DO("create entropy context", isc_entropy_create(mctx, &ectx));
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: keygen.h,v 1.2 2009/06/10 00:27:21 each Exp $ */
|
/* $Id: keygen.h,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef RNDC_KEYGEN_H
|
#ifndef RNDC_KEYGEN_H
|
||||||
#define RNDC_KEYGEN_H 1
|
#define RNDC_KEYGEN_H 1
|
||||||
@@ -26,11 +26,11 @@
|
|||||||
ISC_LANG_BEGINDECLS
|
ISC_LANG_BEGINDECLS
|
||||||
|
|
||||||
void generate_key(isc_mem_t *mctx, const char *randomfile, dns_secalg_t alg,
|
void generate_key(isc_mem_t *mctx, const char *randomfile, dns_secalg_t alg,
|
||||||
int keysize, isc_buffer_t *key_txtbuffer);
|
int keysize, isc_buffer_t *key_txtbuffer);
|
||||||
|
|
||||||
void write_key_file(const char *keyfile, const char *user,
|
void write_key_file(const char *keyfile, const char *user,
|
||||||
const char *keyname, isc_buffer_t *secret,
|
const char *keyname, isc_buffer_t *secret,
|
||||||
dns_secalg_t alg);
|
dns_secalg_t alg);
|
||||||
|
|
||||||
const char *alg_totext(dns_secalg_t alg);
|
const char *alg_totext(dns_secalg_t alg);
|
||||||
dns_secalg_t alg_fromtext(const char *name);
|
dns_secalg_t alg_fromtext(const char *name);
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2001, 2003 Internet Software Consortium.
|
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -15,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: rndc-confgen.c,v 1.2 2009/06/10 00:27:21 each Exp $ */
|
/* $Id: rndc-confgen.c,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
|
@@ -2,8 +2,7 @@
|
|||||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||||
[<!ENTITY mdash "—">]>
|
[<!ENTITY mdash "—">]>
|
||||||
<!--
|
<!--
|
||||||
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
- Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
- Copyright (C) 2001, 2003 Internet Software Consortium.
|
|
||||||
-
|
-
|
||||||
- Permission to use, copy, modify, and/or distribute this software for any
|
- Permission to use, copy, modify, and/or distribute this software for any
|
||||||
- purpose with or without fee is hereby granted, provided that the above
|
- purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -18,7 +17,7 @@
|
|||||||
- PERFORMANCE OF THIS SOFTWARE.
|
- PERFORMANCE OF THIS SOFTWARE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- $Id: rndc-confgen.docbook,v 1.2 2009/06/10 00:27:21 each Exp $ -->
|
<!-- $Id: rndc-confgen.docbook,v 1.3 2009/06/11 23:47:55 tbox Exp $ -->
|
||||||
<refentry id="man.rndc-confgen">
|
<refentry id="man.rndc-confgen">
|
||||||
<refentryinfo>
|
<refentryinfo>
|
||||||
<date>Aug 27, 2001</date>
|
<date>Aug 27, 2001</date>
|
||||||
@@ -37,16 +36,9 @@
|
|||||||
|
|
||||||
<docinfo>
|
<docinfo>
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2004</year>
|
<year>2009</year>
|
||||||
<year>2005</year>
|
|
||||||
<year>2007</year>
|
|
||||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
<copyright>
|
|
||||||
<year>2001</year>
|
|
||||||
<year>2003</year>
|
|
||||||
<holder>Internet Software Consortium.</holder>
|
|
||||||
</copyright>
|
|
||||||
</docinfo>
|
</docinfo>
|
||||||
|
|
||||||
<refsynopsisdiv>
|
<refsynopsisdiv>
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
|
# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
# Copyright (C) 2001 Internet Software Consortium.
|
|
||||||
#
|
#
|
||||||
# Permission to use, copy, modify, and/or distribute this software for any
|
# Permission to use, copy, modify, and/or distribute this software for any
|
||||||
# purpose with or without fee is hereby granted, provided that the above
|
# purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -13,7 +12,7 @@
|
|||||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: Makefile.in,v 1.2 2009/06/10 00:27:21 each Exp $
|
# $Id: Makefile.in,v 1.3 2009/06/11 23:47:55 tbox Exp $
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2001 Internet Software Consortium.
|
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -15,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: os.c,v 1.2 2009/06/10 00:27:21 each Exp $ */
|
/* $Id: os.c,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -15,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: util.c,v 1.2 2009/06/10 00:27:21 each Exp $ */
|
/* $Id: util.c,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -44,7 +43,7 @@ notify(const char *fmt, ...) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
fatal(const char *format, ...) {
|
fatal(const char *format, ...) {
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
@@ -54,4 +53,4 @@ fatal(const char *format, ...) {
|
|||||||
va_end(args);
|
va_end(args);
|
||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -15,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: util.h,v 1.2 2009/06/10 00:27:21 each Exp $ */
|
/* $Id: util.h,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef RNDC_UTIL_H
|
#ifndef RNDC_UTIL_H
|
||||||
#define RNDC_UTIL_H 1
|
#define RNDC_UTIL_H 1
|
||||||
@@ -43,7 +42,7 @@ ISC_LANG_BEGINDECLS
|
|||||||
void
|
void
|
||||||
notify(const char *fmt, ...) ISC_FORMAT_PRINTF(1, 2);
|
notify(const char *fmt, ...) ISC_FORMAT_PRINTF(1, 2);
|
||||||
|
|
||||||
void
|
void
|
||||||
fatal(const char *format, ...) ISC_FORMAT_PRINTF(1, 2);
|
fatal(const char *format, ...) ISC_FORMAT_PRINTF(1, 2);
|
||||||
|
|
||||||
ISC_LANG_ENDDECLS
|
ISC_LANG_ENDDECLS
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2001 Internet Software Consortium.
|
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -15,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: os.c,v 1.2 2009/06/10 00:27:21 each Exp $ */
|
/* $Id: os.c,v 1.3 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2001, 2002 Internet Software Consortium.
|
* Copyright (C) 2001, 2002 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: config.h,v 1.15 2009/06/10 00:27:21 each Exp $ */
|
/* $Id: config.h,v 1.16 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef NAMED_CONFIG_H
|
#ifndef NAMED_CONFIG_H
|
||||||
#define NAMED_CONFIG_H 1
|
#define NAMED_CONFIG_H 1
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1999-2001 Internet Software Consortium.
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: tsigconf.h,v 1.17 2009/06/10 00:27:21 each Exp $ */
|
/* $Id: tsigconf.h,v 1.18 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef NS_TSIGCONF_H
|
#ifndef NS_TSIGCONF_H
|
||||||
#define NS_TSIGCONF_H 1
|
#define NS_TSIGCONF_H 1
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1999-2001 Internet Software Consortium.
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: tsigconf.c,v 1.31 2009/06/10 00:27:21 each Exp $ */
|
/* $Id: tsigconf.c,v 1.32 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1999-2002 Internet Software Consortium.
|
* Copyright (C) 1999-2002 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: os.c,v 1.32 2009/06/10 00:27:21 each Exp $ */
|
/* $Id: os.c,v 1.33 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2004, 2006-2008 Internet Systems Consortium, Inc. ("ISC")
|
# Copyright (C) 2004, 2006-2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
# Copyright (C) 2000-2002 Internet Software Consortium.
|
# Copyright (C) 2000-2002 Internet Software Consortium.
|
||||||
#
|
#
|
||||||
# Permission to use, copy, modify, and/or distribute this software for any
|
# 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
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: Makefile.in,v 1.30 2009/06/10 00:27:21 each Exp $
|
# $Id: Makefile.in,v 1.31 2009/06/11 23:47:55 tbox Exp $
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
|
# Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
# Copyright (C) 2000-2002 Internet Software Consortium.
|
# Copyright (C) 2000-2002 Internet Software Consortium.
|
||||||
#
|
#
|
||||||
# Permission to use, copy, modify, and/or distribute this software for any
|
# 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
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: Makefile.in,v 1.45 2009/06/10 00:27:21 each Exp $
|
# $Id: Makefile.in,v 1.46 2009/06/11 23:47:55 tbox Exp $
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Portions Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
|
* Portions Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Portions Copyright (C) 2000-2002 Internet Software Consortium.
|
* Portions Copyright (C) 2000-2002 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* 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.
|
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dst_internal.h,v 1.12 2009/06/10 00:27:22 each Exp $ */
|
/* $Id: dst_internal.h,v 1.13 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef DST_DST_INTERNAL_H
|
#ifndef DST_DST_INTERNAL_H
|
||||||
#define DST_DST_INTERNAL_H 1
|
#define DST_DST_INTERNAL_H 1
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1999-2002 Internet Software Consortium.
|
* Copyright (C) 1999-2002 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: tsig.h,v 1.52 2009/06/10 00:27:22 each Exp $ */
|
/* $Id: tsig.h,v 1.53 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef DNS_TSIG_H
|
#ifndef DNS_TSIG_H
|
||||||
#define DNS_TSIG_H 1
|
#define DNS_TSIG_H 1
|
||||||
@@ -81,8 +81,8 @@ struct dns_tsigkey {
|
|||||||
|
|
||||||
#define dns_tsigkey_identity(tsigkey) \
|
#define dns_tsigkey_identity(tsigkey) \
|
||||||
((tsigkey) == NULL ? NULL : \
|
((tsigkey) == NULL ? NULL : \
|
||||||
(tsigkey)->generated ? ((tsigkey)->creator) : \
|
(tsigkey)->generated ? ((tsigkey)->creator) : \
|
||||||
(&((tsigkey)->name)))
|
(&((tsigkey)->name)))
|
||||||
|
|
||||||
ISC_LANG_BEGINDECLS
|
ISC_LANG_BEGINDECLS
|
||||||
|
|
||||||
@@ -244,7 +244,7 @@ dns_tsigkeyring_create(isc_mem_t *mctx, dns_tsig_keyring_t **ringp);
|
|||||||
|
|
||||||
isc_result_t
|
isc_result_t
|
||||||
dns_tsigkeyring_add(dns_tsig_keyring_t *ring, dns_name_t *name,
|
dns_tsigkeyring_add(dns_tsig_keyring_t *ring, dns_name_t *name,
|
||||||
dns_tsigkey_t *tkey);
|
dns_tsigkey_t *tkey);
|
||||||
/*%<
|
/*%<
|
||||||
* Place a TSIG key onto a key ring.
|
* Place a TSIG key onto a key ring.
|
||||||
*
|
*
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000-2002 Internet Software Consortium.
|
* Copyright (C) 2000-2002 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dst.h,v 1.13 2009/06/10 00:27:22 each Exp $ */
|
/* $Id: dst.h,v 1.14 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef DST_DST_H
|
#ifndef DST_DST_H
|
||||||
#define DST_DST_H 1
|
#define DST_DST_H 1
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1999-2002 Internet Software Consortium.
|
* Copyright (C) 1999-2002 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Id: tsig.c,v 1.137 2009/06/10 00:27:22 each Exp $
|
* $Id: tsig.c,v 1.138 2009/06/11 23:47:55 tbox Exp $
|
||||||
*/
|
*/
|
||||||
/*! \file */
|
/*! \file */
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000-2002 Internet Software Consortium.
|
* Copyright (C) 2000-2002 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: file.c,v 1.32 2009/06/10 00:27:22 each Exp $ */
|
/* $Id: file.c,v 1.33 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -213,9 +213,9 @@ isc_file_getmodtime(const char *file, isc_time_t *time) {
|
|||||||
&time->absolute))
|
&time->absolute))
|
||||||
{
|
{
|
||||||
close(fh);
|
close(fh);
|
||||||
errno = EINVAL;
|
errno = EINVAL;
|
||||||
return (isc__errno2result(errno));
|
return (isc__errno2result(errno));
|
||||||
}
|
}
|
||||||
close(fh);
|
close(fh);
|
||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
}
|
}
|
||||||
@@ -229,23 +229,23 @@ isc_file_settime(const char *file, isc_time_t *time) {
|
|||||||
if ((fh = open(file, _O_RDWR | _O_BINARY)) < 0)
|
if ((fh = open(file, _O_RDWR | _O_BINARY)) < 0)
|
||||||
return (isc__errno2result(errno));
|
return (isc__errno2result(errno));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set the date via the filedate system call and return. Failing
|
* Set the date via the filedate system call and return. Failing
|
||||||
* this call implies the new file times are not supported by the
|
* this call implies the new file times are not supported by the
|
||||||
* underlying file system.
|
* underlying file system.
|
||||||
*/
|
*/
|
||||||
if (!SetFileTime((HANDLE) _get_osfhandle(fh),
|
if (!SetFileTime((HANDLE) _get_osfhandle(fh),
|
||||||
NULL,
|
NULL,
|
||||||
&time->absolute,
|
&time->absolute,
|
||||||
&time->absolute))
|
&time->absolute))
|
||||||
{
|
{
|
||||||
close(fh);
|
close(fh);
|
||||||
errno = EINVAL;
|
errno = EINVAL;
|
||||||
return (isc__errno2result(errno));
|
return (isc__errno2result(errno));
|
||||||
}
|
}
|
||||||
|
|
||||||
close(fh);
|
close(fh);
|
||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -457,7 +457,7 @@ isc_file_progname(const char *filename, char *progname, size_t namelen) {
|
|||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copy the result to the buffer
|
* Copy the result to the buffer
|
||||||
*/
|
*/
|
||||||
len = p - s;
|
len = p - s;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: ntpaths.h,v 1.17 2009/06/10 00:27:22 each Exp $ */
|
/* $Id: ntpaths.h,v 1.18 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Windows-specific path definitions
|
* Windows-specific path definitions
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2001 Internet Software Consortium.
|
* Copyright (C) 2001 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: ntpaths.c,v 1.12 2009/06/10 00:27:22 each Exp $ */
|
/* $Id: ntpaths.c,v 1.13 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This module fetches the required path information that is specific
|
* This module fetches the required path information that is specific
|
||||||
@@ -57,7 +57,7 @@ isc_ntpaths_init() {
|
|||||||
if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, BIND_SUBKEY, 0, KEY_READ, &hKey)
|
if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, BIND_SUBKEY, 0, KEY_READ, &hKey)
|
||||||
!= ERROR_SUCCESS)
|
!= ERROR_SUCCESS)
|
||||||
keyFound = FALSE;
|
keyFound = FALSE;
|
||||||
|
|
||||||
if (keyFound == TRUE) {
|
if (keyFound == TRUE) {
|
||||||
/* Get the named directory */
|
/* Get the named directory */
|
||||||
if (RegQueryValueEx(hKey, "InstallDir", NULL, NULL,
|
if (RegQueryValueEx(hKey, "InstallDir", NULL, NULL,
|
||||||
@@ -100,7 +100,7 @@ isc_ntpaths_init() {
|
|||||||
|
|
||||||
strcpy(sys_conf_dir, namedBase);
|
strcpy(sys_conf_dir, namedBase);
|
||||||
strcat(sys_conf_dir, "\\etc");
|
strcat(sys_conf_dir, "\\etc");
|
||||||
|
|
||||||
Initialized = TRUE;
|
Initialized = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2002, 2003 Internet Software Consortium.
|
* Copyright (C) 2002, 2003 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: grammar.h,v 1.18 2009/06/10 00:27:22 each Exp $ */
|
/* $Id: grammar.h,v 1.19 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef ISCCFG_GRAMMAR_H
|
#ifndef ISCCFG_GRAMMAR_H
|
||||||
#define ISCCFG_GRAMMAR_H 1
|
#define ISCCFG_GRAMMAR_H 1
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000-2003 Internet Software Consortium.
|
* Copyright (C) 2000-2003 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: parser.c,v 1.130 2009/06/10 00:27:22 each Exp $ */
|
/* $Id: parser.c,v 1.131 2009/06/11 23:47:55 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -400,7 +400,7 @@ cfg_parser_create(isc_mem_t *mctx, isc_log_t *lctx, cfg_parser_t **ret) {
|
|||||||
pctx->callback = NULL;
|
pctx->callback = NULL;
|
||||||
pctx->callbackarg = NULL;
|
pctx->callbackarg = NULL;
|
||||||
pctx->token.type = isc_tokentype_unknown;
|
pctx->token.type = isc_tokentype_unknown;
|
||||||
pctx->flags = 0;
|
pctx->flags = 0;
|
||||||
|
|
||||||
memset(specials, 0, sizeof(specials));
|
memset(specials, 0, sizeof(specials));
|
||||||
specials['{'] = 1;
|
specials['{'] = 1;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/local/bin/perl -w
|
#!/usr/local/bin/perl -w
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
|
# Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
# Copyright (C) 1998-2001, 2003 Internet Software Consortium.
|
# Copyright (C) 1998-2001, 2003 Internet Software Consortium.
|
||||||
#
|
#
|
||||||
# Permission to use, copy, modify, and/or distribute this software for any
|
# Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: merge_copyrights,v 1.32 2009/06/10 23:52:44 marka Exp $
|
# $Id: merge_copyrights,v 1.33 2009/06/11 23:47:56 tbox Exp $
|
||||||
|
|
||||||
%file_types = ();
|
%file_types = ();
|
||||||
%file_years = ();
|
%file_years = ();
|
||||||
|
Reference in New Issue
Block a user