Commit graph

39 commits

Author SHA1 Message Date
Ondřej Surý
1084b40b44 Replace custom isc_boolean_t with C standard bool type
(cherry picked from commit 994e656977)
(cherry picked from commit 884929400c)
2018-08-10 15:20:57 +02:00
Ondřej Surý
188526f41c Remove $Id markers, Principal Author and Reviewed tags from the full source tree
(cherry picked from commit 55a10b7acd)
2018-05-11 14:25:15 +02:00
Michał Kępień
ecea678dac Use dns_fixedname_initname() where possible
Replace dns_fixedname_init() calls followed by dns_fixedname_name()
calls with calls to dns_fixedname_initname() where it is possible
without affecting current behavior and/or performance.

This patch was mostly prepared using Coccinelle and the following
semantic patch:

    @@
    expression fixedname, name;
    @@
    -	dns_fixedname_init(&fixedname);
    	...
    -	name = dns_fixedname_name(&fixedname);
    +	name = dns_fixedname_initname(&fixedname);

The resulting set of changes was then manually reviewed to exclude false
positives and apply minor tweaks.

It is likely that more occurrences of this pattern can be refactored in
an identical way.  This commit only takes care of the low-hanging fruit.

(cherry picked from commit 4df4a8e731)
(cherry picked from commit 0041aeb751)
2018-04-10 13:26:23 -07:00
Evan Hunt
8b205089b7 update file headers to remove copyright years 2018-03-14 16:40:20 -07:00
Mark Andrews
0c27b3fe77 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
Tinderbox User
80d13a0d45 update copyright notice 2014-08-20 23:45:19 +00:00
Mark Andrews
58f1ac8dad 3916. [contrib] zone2sqlite checked wrong result code. Address
compiler warnings. [RT #36931]
2014-08-20 23:14:03 +10:00
Automatic Updater
0e11ca0f0b update copyright notice 2011-10-11 23:46:45 +00:00
Evan Hunt
793814f807 3164. [func] Enable DLZ modules to retrieve client information,
so that responses can be changed depending on the
			source address of the query. [RT #25768]
2011-10-11 00:09:03 +00:00
Automatic Updater
d7201de09b update copyright notice 2009-09-02 23:48:03 +00:00
Tatuya JINMEI 神明達哉
307d208450 2660. [func] Add a new set of DNS libraries for non-BIND9
applications.  See README.libdns. [RT #19369]
2009-09-01 00:22:28 +00:00
Mark Andrews
47d9a2bec1 2500. [contrib] contrib/sdb/pgsql/zonetodb.c called non-existant
function. [RT #18582]
2008-11-27 06:14:22 +00:00
Automatic Updater
3398334b3a update copyright notice 2008-09-25 04:02:39 +00:00
Mark Andrews
6098d364b6 2448. [func] Add NSEC3 support. [RT #15452] 2008-09-24 02:46:23 +00:00
Automatic Updater
70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews
92f56936fb update copyright notice 2007-01-09 03:11:16 +00:00
Mark Andrews
7acb804e7f update copyright notice 2007-01-09 02:44:24 +00:00
Mark Andrews
675d696977 update copyright notice 2005-09-06 03:51:37 +00:00
Mark Andrews
c834db9f95 create/destroy entropy and hash 2005-08-16 04:22:37 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
c6b78d91a1 silence compiler 2002-03-19 15:57:23 +00:00
Mark Andrews
b597abd9cc 1234. [bug] contrib/sdb: 'zonetodb' failed to call
dns_result_register().  DNS_R_SEENINCLUDE should not
                        be fatal.
2002-03-19 03:32:08 +00:00
Brian Wellington
80b3f47796 Empty database nodes caused the program to fail. 2001-03-17 01:53:01 +00:00
Brian Wellington
1ff970120a Add support for reconnection and allow user, passwd, and host to be specified. 2001-02-28 23:42:37 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Mark Andrews
88a6fef494 init dns_rdata_t's 2000-12-11 23:09:47 +00:00
Brian Wellington
5f3e104347 the drivers should include their own header files 2000-12-06 00:59:08 +00:00
Brian Wellington
db237e5475 note that the \ is special for PostgreSQL, not standard SQL. 2000-11-22 21:18:12 +00:00
Brian Wellington
8d69143c07 use ' to quote ', not \ 2000-11-20 19:56:12 +00:00
Brian Wellington
94b6d69d94 If dns_sdb_register() fails, don't call dns_sdb_unregister(). 2000-11-20 19:50:02 +00:00
Brian Wellington
8befe9e546 canonicalize -> quotestring 2000-11-20 19:34:13 +00:00
Andreas Gustafsson
2e9fc52267 comment formatting; spacing 2000-11-20 18:25:14 +00:00
Mark Andrews
25a66b4e41 #include <isc/print.h> 2000-11-20 13:02:18 +00:00
Brian Wellington
c0003bfcaf Added header files; fixed copyrights. 2000-11-18 01:29:14 +00:00
Brian Wellington
5aee7a4da4 store and retrieve TTLs 2000-11-17 23:57:33 +00:00
Brian Wellington
dfd5809a58 properly quote \ and ' before reading from or writing to the database. 2000-11-17 23:12:11 +00:00
Brian Wellington
e6f82b9dbb copyrights 2000-11-17 22:01:45 +00:00
Brian Wellington
18cd5a8e59 The "pgsql" simple database driver and the associated table generator 2000-11-17 21:54:02 +00:00