]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyrights
authorMark Andrews <marka@isc.org>
Thu, 5 Dec 2013 04:04:53 +0000 (15:04 +1100)
committerMark Andrews <marka@isc.org>
Thu, 5 Dec 2013 04:04:53 +0000 (15:04 +1100)
51 files changed:
bin/named/builtin.c
bin/named/include/named/main.h
bin/named/win32/os.c
bin/tests/atomic/t_atomic.c
bin/tests/backtrace_test.c
bin/tests/db/t_db.c
bin/tests/dst/gsstest.c
bin/tests/dst/t_dst.c
bin/tests/hashes/t_hashes.c
bin/tests/master/t_master.c
bin/tests/mem/t_mem.c
bin/tests/names/t_names.c
bin/tests/rbt/t_rbt.c
bin/tests/rwlock_test.c
bin/tests/sockaddr/t_sockaddr.c
bin/tests/tasks/t_tasks.c
bin/tests/timers/t_timers.c
bin/win32/BINDInstall/AccountInfo.cpp
lib/dns/gssapi_link.c
lib/dns/include/dst/gssapi.h
lib/dns/openssldh_link.c
lib/dns/rcode.c
lib/dns/rdata/generic/hip_55.c
lib/dns/rdataslab.c
lib/dns/ssu_external.c
lib/dns/ttl.c
lib/isc/backtrace.c
lib/isc/base32.c
lib/isc/base64.c
lib/isc/heap.c
lib/isc/hex.c
lib/isc/include/isc/hash.h
lib/isc/include/isc/platform.h.in
lib/isc/inet_aton.c
lib/isc/inet_pton.c
lib/isc/random.c
lib/isc/stats.c
lib/isc/win32/interfaceiter.c
lib/isc/win32/stdtime.c
lib/isccc/base64.c
lib/lwres/context.c
lib/lwres/gethost.c
lib/lwres/lwinetaton.c
lib/lwres/lwinetpton.c
lib/lwres/lwres_gabn.c
lib/lwres/lwres_gnba.c
lib/lwres/lwres_grbn.c
lib/lwres/lwres_noop.c
lib/tests/include/tests/t_api.h
util/merge_copyrights
win32utils/legacy/makedefs.pl

index a84960fcf194ca0cb233ad768b46ed3ade4dd661..d6d7538a19453338a3fd89b8bb0fedd3f71377d0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2009-2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009-2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2001-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 2ce481508552cab2681e0688b7883fc2015eba49..1537fb641da60bea6ed23b8d4bca550319629fa2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2002  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 2daeccc665a0830f7e8baf28368fe64cfa160b70..99f2594ac1e5331ef977c7471fed7b5e49956ee5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007-2009, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007-2009, 2012, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2002  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 811b3a140e397058bd9a88d3f285fd16bf888bb1..f63ddf1869fb83f74425dd032d2654f337f45199 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2011, 2013  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
index 7a62a57dde7070f2c0e702ae1bf6d88630d3e805..c54c2ed90c5e6b7ae5f2558597dcf251860079d6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2009, 2013  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
index 417e27fef3d39bdb5c50a47740386c9c82617553..5f1e666550280eb1fc832ea6a816bdea69e036ba 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2009, 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009, 2011-2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index c1296f7a1333748b57da79663ac778626ad6187e..cb08d2bdcbdf32135280a799e823325494983e4a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006, 2007, 2009-2011  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006, 2007, 2009-2011, 2013  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
index 4be46057975d53fb35701a0de01d9d6302d38d3c..1e8be9fa09a1baff9bb39025f908ecbda25660bd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007-2009, 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007-2009, 2011-2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index ac78c9998f6eade6b0d2841b4cbe2b5d4df1f5c8..3ad01e394902c0e399d1687677f766064df5a993 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2010, 2013  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
index 168306acc5130079239297ff668a5c208be436e0..49e6e9ea8197a41a58671ea38d5943635138df69 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2009, 2011  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009, 2011, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-2001, 2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 20509af0d2abe6affbc83513dae4465120086010..b2e0545ab5112b88c6e7d5e1e6e41bd4ac6f9aff 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007, 2009, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index e0e0c1af82ceee37c3d20b341e78708320ed2a3c..4b710e674a3fb5baa05d1c04c973ead1017c2810 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2009, 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2009, 2011-2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index e0b232859a8ead2a54e50b69c4ba314a137acdd5..d99fd7301fe0ddd5e299abad0e44e653b2dde9d4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2009, 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009, 2011-2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-2001, 2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 05d279f1bc09d01686520d5789267bdd5dd82f07..6876ead4109100723b61b431a461344ad1156586 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index b1e05a4816bf4984bcb46ad9687e598e7e1102cf..305110540a453f0ece4d1b342c1b88f0e45c9afb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index ea2f4f244cf4379dec59ebe0cd559338495dd3c1..f6d67d36aedda377758d4f7e48c068e8719226f8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2009, 2011  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009, 2011, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 6cef0def49f79d342f50cbd569f6bfb1dccde5b7..94fb4f9eb44ffa48af0cd1fb3a72fc48bf40eb4e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2007-2009, 2011  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007-2009, 2011, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index c3d8fc06e50665128594daab67c62e30a2f6570e..8f5befdf830221102d365cb7c73c0cbb9ae6d1fa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Portions Copyright (C) 2004, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004, 2007, 2009, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Portions Copyright (C) 2001, 2002  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index ba176c70f60c4808111bcece2091b703a5ad7436..fab12153cdd9f98d883cf31f6117ce45f1c1e101 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2009, 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2009, 2011-2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000-2002  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 44358813661eb02976775e4070bb6f6d79328979..53c594e6b2379f94b71b4a023c0a28fb25c3450a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007, 2009-2011  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2009-2011, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000, 2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 53a277076f511da79d0ba03a5c426330d5a86ad4..cb9fb77d42198bf83cf09f7e5814e127537995d9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Portions Copyright (C) 2004-2009, 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004-2009, 2011-2013  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
index b9a51e19f08eb2248c39cbd10c843fea3ab3d955..c4e70e6e7081c8f9f06f62b6a66085ed722bac5a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 4b6b595b62a1338a461253e279013b6cd84b1dc3..5198497dcb07824fab5629b554942c2af4675090 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009, 2011  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2009, 2011, 2013  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
index 7f5b45eaa01c4e26991f4e89fda9b6687e0f0c99..c53c24c23ed4f233f1e27dc415cf96ff25d8a197 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 3ded9985b9d1584a5e9fecb458c99852c6a8227e..759482768d8f5a2515b934a21ba7feb304262ded 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2011-2013  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
index 606834f42684f6d1e7138062e488d9665451f9b0..d33f0b4dd36b1151a920f820859d716326c746d8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2011-2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 2c7f6f9df8313400e52a4898d29539eeff04b3b3..a5b1a0fdba7e1c1cd6111790fb40d582d7b4a17a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2009, 2013  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
index 361847a9c5524eaf79dadea735049050ed399d41..f595cf14f797f6ad116e1f0e0f707aabd7091ca5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2008, 2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2008, 2009, 2013  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
index 78a7c8a3f1ed103f0cb80e406c83059149088fd7..00d00d4bc6eccd1536de365d575ca0ebe5536069 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-2001, 2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index da659997804121ec80c0832ebeca5057015670e6..4edaface856f5e5ce6bd668118ef262b6d05319c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007, 2010-2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2010-2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1997-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 7f0ebb5160d30ac9d61f6990ea970bf88ab05222..60addf5ce895d1ffb3918ac5da72098ed368856a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2008  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2008, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 3b420b0ef772b1054ca156490e4e8a5074a00372..0bfe936d7f95f7909bb139e2261e478c2851f467 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007, 2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2009, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index feb827a9ed9497ca2760d7527d0bf6ff04f63a2e..8c5bd1d8afdfbaa59dac5452ce2179cf6b3958a3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2010  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2010, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index cfe2e7767d0341b46849be362673e444d2fecc99..4b5571f49928b0f55d500c9e75b69ec87e090e03 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Portions Copyright (C) 2004, 2005, 2007, 2008, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004, 2005, 2007, 2008, 2012, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Portions Copyright (C) 1996-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 9654b8292e00570c2116ab84914d7480fd78eefb..ac4defde7577d1b26227ed468e91a2dc20d6c2d3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1996-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -44,7 +44,7 @@ static char rcsid[] =
 static int inet_pton4(const char *src, unsigned char *dst);
 static int inet_pton6(const char *src, unsigned char *dst);
 
-/*% 
+/*%
  *     convert from presentation format (which usually means ASCII printable)
  *     to network format (which is usually some kind of binary format).
  * \return
index 05bb168845a1436ad9cf19cff817a55367d4d870..4c48e60fd77d4c966655cb48f1611e44ce366fdf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index f51ff73b981089eceb2eb35fb75135f5876d0b83..a620de426f496d75957423d9093f0431a4a4f783 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2009, 2012, 2013  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
index 9dfa6b7ffd6916a398766cf14bc39c09192b41ff..c7a9cbb2417a2015f318db6713b88ec3f7c4653e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2007-2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007-2009, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 119beca240ac18db68fd257753816a6f01ca1e5a..a45d17bace38f71495f58fdaec69c7c586aef24c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 03d342ffc8021a022e4e13be3605ec2ac875dec1..bf8487e2d6babb9752e6ca64ef8832ce045f661f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Portions Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004, 2005, 2007, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Portions Copyright (C) 2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index c2a286b3297d6e900dce66732d89d56109b1bfa4..e16bc0aa6bf791269ecdcca27b02483add04c691 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007-2009, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007-2009, 2012, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000, 2001, 2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 49d74a14b00e9246c4dbaab8c3d32a624cf6bec5..60d9d5ee99344f4c00228b1ef41165ec3b2d3627 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000, 2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -24,7 +24,7 @@
  *    lookups by means of the lightweight resolver. They are similar to the
  *    standard gethostent(3) functions provided by most operating systems.
  *    They use a struct hostent which is usually defined in <namedb.h>.
- * 
+ *
  * \code
  * struct  hostent {
  *         char    *h_name;        // official name of host
  * };
  * #define h_addr  h_addr_list[0]  // address, for backward compatibility
  * \endcode
- * 
+ *
  *    The members of this structure are:
- * 
+ *
  * \li   h_name:
  *           The official (canonical) name of the host.
- * 
+ *
  * \li   h_aliases:
  *           A NULL-terminated array of alternate names (nicknames) for the
  *           host.
- * 
+ *
  * \li   h_addrtype:
  *           The type of address being returned -- PF_INET or PF_INET6.
- * 
+ *
  * \li   h_length:
  *           The length of the address in bytes.
- * 
+ *
  * \li   h_addr_list:
  *           A NULL terminated array of network addresses for the host. Host
  *           addresses are returned in network byte order.
- * 
+ *
  *    For backward compatibility with very old software, h_addr is the first
  *    address in h_addr_list.
- * 
+ *
  *    lwres_gethostent(), lwres_sethostent(), lwres_endhostent(),
  *    lwres_gethostent_r(), lwres_sethostent_r() and lwres_endhostent_r()
  *    provide iteration over the known host entries on systems that provide
  *    such functionality through facilities like /etc/hosts or NIS. The
  *    lightweight resolver does not currently implement these functions; it
  *    only provides them as stub functions that always return failure.
- * 
+ *
  *    lwres_gethostbyname() and lwres_gethostbyname2() look up the hostname
  *    name. lwres_gethostbyname() always looks for an IPv4 address while
  *    lwres_gethostbyname2() looks for an address of protocol family af:
@@ -72,7 +72,7 @@
  *    Successful calls of the functions return a struct hostent for the name
  *    that was looked up. NULL is returned if the lookups by
  *    lwres_gethostbyname() or lwres_gethostbyname2() fail.
- * 
+ *
  *    Reverse lookups of addresses are performed by lwres_gethostbyaddr().
  *    addr is an address of length len bytes and protocol family type --
  *    PF_INET or PF_INET6. lwres_gethostbyname_r() is a thread-safe function
@@ -83,7 +83,7 @@
  *    h_addr_list elements of the struct hostent returned in resbuf.
  *    Successful calls to lwres_gethostbyname_r() return resbuf, which is a
  *    pointer to the struct hostent it created.
- * 
+ *
  *    lwres_gethostbyaddr_r() is a thread-safe function that performs a
  *    reverse lookup of address addr which is len bytes long and is of
  *    protocol family type -- PF_INET or PF_INET6. If an error occurs, the
  *    struct hostent returned in resbuf. Successful calls to
  *    lwres_gethostbyaddr_r() return resbuf, which is a pointer to the
  *    struct hostent it created.
- * 
+ *
  * \section gethost_return Return Values
- * 
+ *
  *    The functions lwres_gethostbyname(), lwres_gethostbyname2(),
  *    lwres_gethostbyaddr(), and lwres_gethostent() return NULL to indicate
  *    an error. In this case the global variable lwres_h_errno will contain
  *    one of the following error codes defined in \link netdb.h <lwres/netdb.h>:\endlink
- * 
+ *
  * \li #HOST_NOT_FOUND:
  *           The host or address was not found.
- * 
+ *
  * \li #TRY_AGAIN:
  *           A recoverable error occurred, e.g., a timeout. Retrying the
  *           lookup may succeed.
- * 
+ *
  * \li #NO_RECOVERY:
  *           A non-recoverable error occurred.
- * 
+ *
  * \li #NO_DATA:
  *           The name exists, but has no address information associated with
  *           it (or vice versa in the case of a reverse lookup). The code
  *           NO_ADDRESS is accepted as a synonym for NO_DATA for backwards
  *           compatibility.
- * 
+ *
  *    lwres_hstrerror() translates these error codes to suitable error
  *    messages.
- * 
+ *
  *    lwres_gethostent() and lwres_gethostent_r() always return NULL.
- * 
+ *
  *    Successful calls to lwres_gethostbyname_r() and
  *    lwres_gethostbyaddr_r() return resbuf, a pointer to the struct hostent
  *    that was initialised by these functions. They return NULL if the
  *    names referenced by the h_name, h_aliases, and h_addr_list elements of
  *    the struct hostent. If buf was too small, both lwres_gethostbyname_r()
  *    and lwres_gethostbyaddr_r() set the global variable errno to ERANGE.
- * 
+ *
  * \section gethost_see See Also
- * 
+ *
  *    gethostent(), \link getipnode.c getipnode\endlink, lwres_hstrerror()
- * 
+ *
  * \section gethost_bugs Bugs
- * 
+ *
  *    lwres_gethostbyname(), lwres_gethostbyname2(), lwres_gethostbyaddr()
  *    and lwres_endhostent() are not thread safe; they return pointers to
  *    static data and provide error codes through a global variable.
  *    Thread-safe versions for name and address lookup are provided by
  *    lwres_gethostbyname_r(), and lwres_gethostbyaddr_r() respectively.
- * 
+ *
  *    The resolver daemon does not currently support any non-DNS name
  *    services such as /etc/hosts or NIS, consequently the above functions
  *    don't, either.
@@ -294,69 +294,69 @@ lwres_endhostent_r(void) {
 
 static int
 copytobuf(struct hostent *he, struct hostent *hptr, char *buf, int buflen) {
-        char *cp;
-        char **ptr;
-        int i, n;
-        int nptr, len;
+       char *cp;
+       char **ptr;
+       int i, n;
+       int nptr, len;
 
-        /*
+       /*
         * Find out the amount of space required to store the answer.
         */
-        nptr = 2; /* NULL ptrs */
-        len = (int)((char *)LWRES_ALIGN(buf) - buf);
-        for (i = 0; he->h_addr_list[i]; i++, nptr++) {
-                len += he->h_length;
-        }
-        for (i = 0; he->h_aliases[i]; i++, nptr++) {
-                len += strlen(he->h_aliases[i]) + 1;
-        }
-        len += strlen(he->h_name) + 1;
-        len += nptr * sizeof(char*);
-
-        if (len > buflen) {
-                return (-1);
-        }
-
-        /*
+       nptr = 2; /* NULL ptrs */
+       len = (int)((char *)LWRES_ALIGN(buf) - buf);
+       for (i = 0; he->h_addr_list[i]; i++, nptr++) {
+               len += he->h_length;
+       }
+       for (i = 0; he->h_aliases[i]; i++, nptr++) {
+               len += strlen(he->h_aliases[i]) + 1;
+       }
+       len += strlen(he->h_name) + 1;
+       len += nptr * sizeof(char*);
+
+       if (len > buflen) {
+               return (-1);
+       }
+
+       /*
         * Copy address size and type.
         */
-        hptr->h_addrtype = he->h_addrtype;
-        n = hptr->h_length = he->h_length;
+       hptr->h_addrtype = he->h_addrtype;
+       n = hptr->h_length = he->h_length;
 
-        ptr = (char **)LWRES_ALIGN(buf);
-        cp = (char *)LWRES_ALIGN(buf) + nptr * sizeof(char *);
+       ptr = (char **)LWRES_ALIGN(buf);
+       cp = (char *)LWRES_ALIGN(buf) + nptr * sizeof(char *);
 
-        /*
+       /*
         * Copy address list.
         */
-        hptr->h_addr_list = ptr;
-        for (i = 0; he->h_addr_list[i]; i++, ptr++) {
-                memcpy(cp, he->h_addr_list[i], n);
-                hptr->h_addr_list[i] = cp;
-                cp += n;
-        }
-        hptr->h_addr_list[i] = NULL;
-        ptr++;
-
-        /*
+       hptr->h_addr_list = ptr;
+       for (i = 0; he->h_addr_list[i]; i++, ptr++) {
+               memcpy(cp, he->h_addr_list[i], n);
+               hptr->h_addr_list[i] = cp;
+               cp += n;
+       }
+       hptr->h_addr_list[i] = NULL;
+       ptr++;
+
+       /*
         * Copy official name.
         */
-        n = strlen(he->h_name) + 1;
-        strcpy(cp, he->h_name);
-        hptr->h_name = cp;
-        cp += n;
+       n = strlen(he->h_name) + 1;
+       strcpy(cp, he->h_name);
+       hptr->h_name = cp;
+       cp += n;
 
-        /*
+       /*
         * Copy aliases.
         */
-        hptr->h_aliases = ptr;
-        for (i = 0; he->h_aliases[i]; i++) {
-                n = strlen(he->h_aliases[i]) + 1;
-                strcpy(cp, he->h_aliases[i]);
-                hptr->h_aliases[i] = cp;
-                cp += n;
-        }
-        hptr->h_aliases[i] = NULL;
-
-        return (0);
+       hptr->h_aliases = ptr;
+       for (i = 0; he->h_aliases[i]; i++) {
+               n = strlen(he->h_aliases[i]) + 1;
+               strcpy(cp, he->h_aliases[i]);
+               hptr->h_aliases[i] = cp;
+               cp += n;
+       }
+       hptr->h_aliases[i] = NULL;
+
+       return (0);
 }
index 707c66d8abc80f1280a378fdd8d4570efa8aa89e..5ca5254860e9df24906239e9d8fb9e67b98016cd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Portions Copyright (C) 2004, 2005, 2007, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004, 2005, 2007, 2012, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Portions Copyright (C) 1996-2001, 2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 94dcebf3c6eec8ffef2497f9b7a59cebe77ec692..65a8998ce1aa4fb9fd3366133d76c6aa6848d0b3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2011, 2012  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2011-2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1996-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 32579f136d93fbb72fe50e925bfd6482eaa1737b..d770579cb4165458c754a795167da1ef2c97fe5b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000, 2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -40,23 +40,23 @@ typedef struct lwres_addr lwres_addr_t;
 typedef LWRES_LIST(lwres_addr_t) lwres_addrlist_t;
 
 typedef struct {
-        lwres_uint32_t  flags;
-        lwres_uint32_t  addrtypes;
-        lwres_uint16_t  namelen;
-        char           *name;
+       lwres_uint32_t  flags;
+       lwres_uint32_t  addrtypes;
+       lwres_uint16_t  namelen;
+       char           *name;
 } lwres_gabnrequest_t;
 
 typedef struct {
-        lwres_uint32_t          flags;
-        lwres_uint16_t          naliases;
-        lwres_uint16_t          naddrs;
-        char                   *realname;
-        char                  **aliases;
-        lwres_uint16_t          realnamelen;
-        lwres_uint16_t         *aliaslen;
-        lwres_addrlist_t        addrs;
-        void                   *base;
-        size_t                  baselen;
+       lwres_uint32_t          flags;
+       lwres_uint16_t          naliases;
+       lwres_uint16_t          naddrs;
+       char                   *realname;
+       char                  **aliases;
+       lwres_uint16_t          realnamelen;
+       lwres_uint16_t         *aliaslen;
+       lwres_addrlist_t        addrs;
+       void                   *base;
+       size_t                  baselen;
 } lwres_gabnresponse_t;
 \endcode
 
index aabf59bc8aca87b48bc47f53a1691f43d38f33d2..43d8ac53e24551b8cc127f8c35e4ff7ac1e19a8a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000-2002  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -29,7 +29,7 @@
    structure. Another render function converts the getnamebyaddr
    response structure -- lwres_gnbaresponse_t to the canonical format.
    This is complemented by a parse function which converts a packet in
-   canonical format to a getnamebyaddr response structure.       
+   canonical format to a getnamebyaddr response structure.
 
    These structures are defined in \link lwres.h <lwres/lwres.h.>\endlink They are shown
    below.
 #define LWRES_OPCODE_GETNAMEBYADDR      0x00010002U
 
 typedef struct {
-        lwres_uint32_t  flags;
-        lwres_addr_t    addr;
+       lwres_uint32_t  flags;
+       lwres_addr_t    addr;
 } lwres_gnbarequest_t;
 
 typedef struct {
-        lwres_uint32_t  flags;
-        lwres_uint16_t  naliases;
-        char           *realname;
-        char          **aliases;
-        lwres_uint16_t  realnamelen;
-        lwres_uint16_t *aliaslen;
-        void           *base;
-        size_t          baselen;
+       lwres_uint32_t  flags;
+       lwres_uint16_t  naliases;
+       char           *realname;
+       char          **aliases;
+       lwres_uint16_t  realnamelen;
+       lwres_uint16_t *aliaslen;
+       void           *base;
+       size_t          baselen;
 } lwres_gnbaresponse_t;
 \endcode
 
@@ -66,14 +66,14 @@ typedef struct {
    of packet pkt to a lwres_gnbarequest_t structure. Buffer b provides
    space to be used for storing this structure. When the function
    succeeds, the resulting lwres_gnbarequest_t is made available
-   through *structp. lwres_gnbaresponse_parse() offers the same   
-semantics as lwres_gnbarequest_parse() except it yields a    
+   through *structp. lwres_gnbaresponse_parse() offers the same
+semantics as lwres_gnbarequest_parse() except it yields a
    lwres_gnbaresponse_t structure.
 
    lwres_gnbaresponse_free() and lwres_gnbarequest_free() release the
-   memory in resolver context ctx that was allocated to the     
-   lwres_gnbaresponse_t or lwres_gnbarequest_t structures referenced  
-   via structp. Any memory associated with ancillary buffers and      
+   memory in resolver context ctx that was allocated to the
+   lwres_gnbaresponse_t or lwres_gnbarequest_t structures referenced
+   via structp. Any memory associated with ancillary buffers and
    strings for those structures is also discarded.
 
 \section lwres_gbna_return Return Values
index 6b77ba57e5e67280589fb0e7c0088f35e16de36e..a8ff2342bd7e548652aec492316bd1c3a69ec250 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000, 2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index 997e26ccf7ed716b522f68996e91eee561fcc3b3..10b40ee950a4f2ccf904053f5fb549cd2cff9c3f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000, 2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
 /**
  *    These are low-level routines for creating and parsing lightweight
  *    resolver no-op request and response messages.
- * 
+ *
  *    The no-op message is analogous to a ping packet: a packet is sent to
  *    the resolver daemon and is simply echoed back. The opcode is intended
  *    to allow a client to determine if the server is operational or not.
- * 
+ *
  *    There are four main functions for the no-op opcode. One render
  *    function converts a no-op request structure -- lwres_nooprequest_t --
  *    to the lighweight resolver's canonical format. It is complemented by a
  *    response structure -- lwres_noopresponse_t to the canonical format.
  *    This is complemented by a parse function which converts a packet in
  *    canonical format to a no-op response structure.
- * 
+ *
  *    These structures are defined in \link lwres.h <lwres/lwres.h.> \endlink They are shown below.
- * 
+ *
  * \code
  * #define LWRES_OPCODE_NOOP       0x00000000U
- * 
+ *
  * typedef struct {
  *         lwres_uint16_t  datalength;
  *         unsigned char   *data;
  * } lwres_nooprequest_t;
- * 
+ *
  * typedef struct {
  *         lwres_uint16_t  datalength;
  *         unsigned char   *data;
  * } lwres_noopresponse_t;
  * \endcode
- * 
+ *
  *    Although the structures have different types, they are identical. This
  *    is because the no-op opcode simply echos whatever data was sent: the
  *    response is therefore identical to the request.
- * 
+ *
  *    lwres_nooprequest_render() uses resolver context ctx to convert no-op
  *    request structure req to canonical format. The packet header structure
  *    pkt is initialised and transferred to buffer b. The contents of *req
@@ -63,7 +63,7 @@
  *    lwres_noopresponse_render() performs the same task, except it converts
  *    a no-op response structure lwres_noopresponse_t to the lightweight
  *    resolver's canonical format.
- * 
+ *
  *    lwres_nooprequest_parse() uses context ctx to convert the contents of
  *    packet pkt to a lwres_nooprequest_t structure. Buffer b provides space
  *    to be used for storing this structure. When the function succeeds, the
  *    lwres_noopresponse_parse() offers the same semantics as
  *    lwres_nooprequest_parse() except it yields a lwres_noopresponse_t
  *    structure.
- * 
+ *
  *    lwres_noopresponse_free() and lwres_nooprequest_free() release the
  *    memory in resolver context ctx that was allocated to the
  *    lwres_noopresponse_t or lwres_nooprequest_t structures referenced via
  *    structp.
- * 
+ *
  * \section lwres_noop_return Return Values
- * 
+ *
  *    The no-op opcode functions lwres_nooprequest_render(),
  *    lwres_noopresponse_render() lwres_nooprequest_parse() and
  *    lwres_noopresponse_parse() all return #LWRES_R_SUCCESS on success. They
@@ -91,9 +91,9 @@
  *    received packet. These functions will return #LWRES_R_FAILURE if
  *    pktflags in the packet header structure #lwres_lwpacket_t indicate that
  *    the packet is not a response to an earlier query.
- * 
+ *
  * \section lwres_noop_see See Also
- * 
+ *
  *    lwpacket.c
  */
 
index 26b94edcd59110b9cdb69e5a7c687200e10a55e3..fb2571f1f3e56f172a7e3acfe283eb3f98562c97 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007, 2010  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2010, 2013  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index d29b5e2380ae32b38e87df33348a71e30fb31dc4..498bfe5bb449fdcc619c4e8042884dc248bb72ce 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/local/bin/perl -w
 #
-# Copyright (C) 2004-2007, 2009-2012  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004-2007, 2009-2013  Internet Systems Consortium, Inc. ("ISC")
 # Copyright (C) 1998-2001, 2003  Internet Software Consortium.
 #
 # Permission to use, copy, modify, and/or distribute this software for any
index 0644f1d30b8d783af4eb7cafe98e626ac106ea82..9e3e9305fea1856838626ee5fdffc39dcc62d482 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 #
-# Copyright (C) 2004, 2007, 2009, 2012  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004, 2007, 2009, 2012, 2013  Internet Systems Consortium, Inc. ("ISC")
 # Copyright (C) 2001  Internet Software Consortium.
 #
 # Permission to use, copy, modify, and/or distribute this software for any