]> granicus.if.org Git - pdns/commit
make it possible to compare pointers/references to DNSRecordContent. There is a gener...
authorbert hubert <bert.hubert@netherlabs.nl>
Mon, 12 Sep 2016 21:48:41 +0000 (23:48 +0200)
committerbert hubert <bert.hubert@powerdns.com>
Tue, 13 Sep 2016 10:53:30 +0000 (12:53 +0200)
commitf18e430ff1b6fa216b08e29205071a60c0cb316a
treec900d72ebcfdec94ec92afe587e7e8c4ac3fa6e9
parent7e683fad98c013c5cfaaffbd077d4788a30f5387
make it possible to compare pointers/references to DNSRecordContent. There is a generic comparison function based on getZoneRepresentation(), and specializations for A, AAAA, MX and NS. Rest to follow.
Also make DNSPacket::addRecord() use this infrastructure
pdns/Makefile.am
pdns/dnsparser.hh
pdns/dnsrecords.hh
pdns/test-dnsrecordcontent.cc [new file with mode: 0644]