Michał Kępień
4df4a8e731
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.
2018-04-09 12:14:16 +02:00
Witold Kręcicki
275a6a3bec
libdns refactoring: get rid of unnecessary dns_db_dump2 and 3 versions of dns_db_load
2018-04-06 08:04:41 +02:00
Ondřej Surý
b097be17ef
Remove unused obsolete isc_hash_* function, and just keep the FNV-1a version
2018-04-04 23:12:14 +02:00
Ondřej Surý
843d389661
Update license headers to not include years in copyright in all applicable files
2018-02-23 10:12:02 +01: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
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
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
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
8d69143c07
use ' to quote ', not \
2000-11-20 19:56:12 +00:00
Brian Wellington
8befe9e546
canonicalize -> quotestring
2000-11-20 19:34:13 +00:00
Mark Andrews
25a66b4e41
#include <isc/print.h>
2000-11-20 13:02:18 +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