]> git.ipfire.org Git - thirdparty/pdns.git/commit - pdns/dnsdistdist/Makefile.am
Protobuf refactoring
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 24 Jun 2016 08:56:04 +0000 (10:56 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 28 Jun 2016 09:32:04 +0000 (11:32 +0200)
commitd9d3f9c13c51c4df5a7863056cae7afd330f374c
tree364278de582132a15b6d841e6efe439ae1483b5a
parent4122cd65d09964c7ff2abf83055349c43723d97c
Protobuf refactoring

The main idea here is to have a object encapsulating the protobuf
stuff, that exists but does nothing when protobuf support is off.
This makes it a lot easier and cleanier for the rest of the code.

This also:
* unifies the protobuf code used in dnsdist, rec and dnspcap2protobuf
* add CNAME values to responses
21 files changed:
contrib/ProtobufLogger.py
pdns/Makefile.am
pdns/dnsdist-protobuf.cc
pdns/dnsdist-protobuf.hh
pdns/dnsdistdist/Makefile.am
pdns/dnsdistdist/protobuf.cc [new symlink]
pdns/dnsdistdist/protobuf.hh [new symlink]
pdns/dnspcap2protobuf.cc
pdns/dnsrulactions.hh
pdns/pdns_recursor.cc
pdns/protobuf.cc [new file with mode: 0644]
pdns/protobuf.hh [new file with mode: 0644]
pdns/rec-protobuf.cc [new file with mode: 0644]
pdns/rec-protobuf.hh [new file with mode: 0644]
pdns/recpacketcache.cc
pdns/recpacketcache.hh
pdns/recursordist/Makefile.am
pdns/recursordist/protobuf.cc [new symlink]
pdns/recursordist/protobuf.hh [new symlink]
pdns/recursordist/rec-protobuf.cc [new symlink]
pdns/recursordist/rec-protobuf.hh [new symlink]