bind9/lib
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
..
bind9 Use dns_fixedname_initname() where possible 2018-04-09 12:14:16 +02:00
dns Use dns_fixedname_initname() where possible 2018-04-09 12:14:16 +02:00
irs Use dns_fixedname_initname() where possible 2018-04-09 12:14:16 +02:00
isc Cleanup included headers in hash.c using iwyu 2018-04-04 23:12:14 +02:00
isccc update file headers 2018-03-15 18:33:13 -07:00
isccfg libdns refactoring: get rid of multiple versions of dns_keytable_add, dns_iptable_addprefix and dns_iptable_addprefix 2018-04-06 08:04:41 +02:00
ns Use dns_fixedname_initname() where possible 2018-04-09 12:14:16 +02:00
samples Use dns_fixedname_initname() where possible 2018-04-09 12:14:16 +02:00
win32/bindevt Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Atffile [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00