PDNS_CHECK_CLOCK_GETTIME
BOOST_REQUIRE([1.35])
-BOOST_FOREACH
BOOST_PROGRAM_OPTIONS([mt])
BOOST_SERIALIZATION([mt])
#include <fcntl.h>
#include <sstream>
#include <boost/algorithm/string.hpp>
-#include <boost/foreach.hpp>
+
#include "pdns/dnsseckeeper.hh"
#include "pdns/dnssecinfra.hh"
#include "pdns/base32.hh"
#include <fstream>
#include <yaml-cpp/yaml.h>
#include <pthread.h>
-#include <boost/foreach.hpp>
+
#include <GeoIP.h>
#include <GeoIPCity.h>
#include <sys/types.h>
#include "pdns/dns.hh"
#include "pdns/namespaces.hh"
#include <algorithm>
-#include <boost/foreach.hpp>
+
class SPgSQLStatement: public SSqlStatement
{
#include <sys/socket.h>
#include <unistd.h>
#include <fcntl.h>
-#include <boost/foreach.hpp>
+
#include <sstream>
#include "rapidjson/stringbuffer.h"
#include "rapidjson/writer.h"
#include "config.h"
#endif
#include "remotebackend.hh"
-#include <boost/foreach.hpp>
+
static const char *kBackendId = "[RemoteBackend]";
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
struct RemotebackendSetup {
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
struct RemotebackendSetup {
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
#include "pdns/namespaces.hh"
#include "pdns/dns.hh"
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
struct RemotebackendSetup {
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
#include "pdns/namespaces.hh"
#include "pdns/dns.hh"
#include "config.h"
#endif
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
#include "pdns/namespaces.hh"
#include "pdns/dns.hh"
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
#include "pdns/namespaces.hh"
#include "pdns/dns.hh"
#include <sys/socket.h>
#include <unistd.h>
#include <fcntl.h>
-#include <boost/foreach.hpp>
+
#include <sstream>
#include "rapidjson/stringbuffer.h"
#include "rapidjson/writer.h"
#include "pdns/dnspacket.hh"
#include "pdns/dnsrecords.hh"
#include <utility>
-#include <boost/foreach.hpp>
+
static string backendname="[TinyDNSBackend] ";
uint32_t TinyDNSBackend::s_lastId;
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/compare.hpp>
#include <boost/algorithm/string/predicate.hpp>
-#include <boost/foreach.hpp>
+
#include "namespaces.hh"
#include "logger.hh"
#include <sys/types.h>
#include "sstuff.hh"
#include "arguments.hh"
#include "common_startup.hh"
-#include <boost/foreach.hpp>
+
#include "namespaces.hh"
void* carbonDumpThread(void*)
#include <sys/time.h>
#include <sys/resource.h>
#include "dynhandler.hh"
-#include <boost/foreach.hpp>
+
bool g_anyToTcp;
typedef Distributor<DNSPacket,DNSPacket,PacketHandler> DNSDistributor;
#include "ueberbackend.hh"
#include "statbag.hh"
#include <iostream>
-#include <boost/foreach.hpp>
+
#include <sys/stat.h>
#include <sys/types.h>
#include <fstream>
#include "iputils.hh"
#include "dolog.hh"
#include "sstuff.hh"
-#include <boost/foreach.hpp>
+
#include "namespaces.hh"
#undef L
#include "dnsdist.hh"
#include <boost/tokenizer.hpp>
#include <boost/algorithm/string.hpp>
#include <algorithm>
-#include <boost/foreach.hpp>
+
#include "dnsseckeeper.hh"
#include "dns.hh"
#include "dnsbackend.hh"
#include "dns.hh"
#include "logger.hh"
#include "statbag.hh"
-#include <boost/foreach.hpp>
+
extern StatBag S;
extern PacketCache PC;
#include "utility.hh"
#include "dnsrecords.hh"
#include "iputils.hh"
-#include <boost/foreach.hpp>
+
void DNSResourceRecord::setContent(const string &cont) {
content = cont;
#include <algorithm>
#include "anadns.hh"
#include <boost/program_options.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/logic/tribool.hpp>
#include "arguments.hh"
#include "namespaces.hh"
#include "dnsrecords.hh"
#include "statbag.hh"
#include "iputils.hh"
-#include <boost/foreach.hpp>
+
#include <boost/algorithm/string.hpp>
#include "dnssecinfra.hh"
#include "dnsseckeeper.hh"
#endif
#include "dnssecinfra.hh"
#include "namespaces.hh"
-#include <boost/foreach.hpp>
+
#include "md5.hh"
#include "dnsseckeeper.hh"
#include "dns_random.hh"
#include <netinet/tcp.h>
#include <boost/array.hpp>
#include <boost/program_options.hpp>
-#include <boost/foreach.hpp>
+
StatBag S;
namespace po = boost::program_options;
#include "dnswriter.hh"
#include "misc.hh"
#include "dnsparser.hh"
-#include <boost/foreach.hpp>
+
#include <limits.h>
DNSPacketWriter::DNSPacketWriter(vector<uint8_t>& content, const DNSName& qname, uint16_t qtype, uint16_t qclass, uint8_t opcode)
#include "logger.hh"
#include "lock.hh"
#include "arguments.hh"
-#include <boost/foreach.hpp>
+
#include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp>
#include "gss_context.hh"
#include <vector>
#include <deque>
#include <iostream>
-#include <boost/foreach.hpp>
+
#include <boost/multi_index_container.hpp>
#include <boost/format.hpp>
#include <sys/time.h>
#include "statbag.hh"
#include "base32.hh"
#include "dnssecinfra.hh"
-#include <boost/foreach.hpp>
+
#include "dns_random.hh"
#include "gss_context.hh"
#include "zoneparser-tng.hh"
#include "json.hh"
#include "namespaces.hh"
#include "misc.hh"
-#include <boost/foreach.hpp>
+
#include "rapidjson/document.h"
#include "rapidjson/stringbuffer.h"
#include "rapidjson/writer.h"
#include <string>
#include <vector>
#include <stdexcept>
-#include <boost/foreach.hpp>
+
#include "logger.hh"
#include "namespaces.hh"
#endif
#include "lua-pdns.hh"
// #include "syncres.hh"
-#include <boost/foreach.hpp>
+
#if !defined(HAVE_LUA)
#include <string>
#include <vector>
#include <stdexcept>
-#include <boost/foreach.hpp>
+
#include "logger.hh"
#include "dnsparser.hh"
#include "namespaces.hh"
#include "communicator.hh"
#include <set>
#include <boost/utility.hpp>
-#include <boost/foreach.hpp>
+
#include "dnsbackend.hh"
#include "ueberbackend.hh"
#include "packethandler.hh"
#include "mbedtlscompat.hh"
#endif
#include <boost/assign/std/vector.hpp> // for 'operator+=()'
-#include <boost/foreach.hpp>
+
#include "sha.hh"
#include "dnssecinfra.hh"
using namespace boost::assign;
#include <arpa/inet.h>
#include <netdb.h>
#include <vector>
-#include <boost/foreach.hpp>
+
#include "statbag.hh"
#include "namespaces.hh"
#include "dnspacket.hh"
#include "statbag.hh"
#include "base32.hh"
#include "dnssecinfra.hh"
-#include <boost/foreach.hpp>
+
StatBag S;
#include <boost/tuple/tuple_comparison.hpp>
#include <boost/multi_index/key_extractors.hpp>
#include <boost/multi_index/sequenced_index.hpp>
-#include <boost/foreach.hpp>
+
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <netdb.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <boost/foreach.hpp>
+
#include "ws-recursor.hh"
#include <pthread.h>
#include "recpacketcache.hh"
#include "statbag.hh"
#include "base32.hh"
#include "base64.hh"
-#include <boost/foreach.hpp>
+
#include <boost/program_options.hpp>
#include <boost/assign/std/vector.hpp>
#include <boost/assign/list_of.hpp>
#include <boost/assign/std/vector.hpp> // for 'operator+=()'
#include <boost/assign/list_of.hpp>
#include <boost/make_shared.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/format.hpp>
#include <p11-kit/p11-kit.h>
#include "logger.hh"
#include "arguments.hh"
#include "lock.hh"
-#include <boost/foreach.hpp>
+
void doCarbonDump(void*)
try
#include <boost/tuple/tuple.hpp>
#include <boost/format.hpp>
#include <boost/algorithm/string.hpp>
-#include <boost/foreach.hpp>
+
#include "version.hh"
#include <sys/types.h>
#include <sys/stat.h>
#include "config.h"
#endif
#include <iostream>
-#include <boost/foreach.hpp>
+
#include "recpacketcache.hh"
#include "cachecleaner.hh"
#include "dns.hh"
#include "zoneparser-tng.hh"
#include "logger.hh"
#include "dnsrecords.hh"
-#include <boost/foreach.hpp>
+
#include <thread>
#include "ixfr.hh"
#include "rpzloader.hh"
#include "dnswriter.hh"
#include "dnsparser.hh"
-#include <boost/foreach.hpp>
+
#include "dns_random.hh"
#include <sys/poll.h>
#include "gss_context.hh"
#include <limits>
#include "namespaces.hh"
#include "logger.hh"
-#include <boost/foreach.hpp>
+
#include "dnsparser.hh"
ResponseStats::ResponseStats()
#include "dnsseckeeper.hh"
#include "base64.hh"
#include "base32.hh"
-#include <boost/foreach.hpp>
+
#include "misc.hh"
#include "arguments.hh"
#include "resolver.hh"
#include "statbag.hh"
#include "base32.hh"
#include "dnssecinfra.hh"
-#include <boost/foreach.hpp>
+
#include "dns_random.hh"
#include "gss_context.hh"
#include "version.hh"
#include "dnsparser.hh"
#include "misc.hh"
-#include <boost/foreach.hpp>
+
#include "sstuff.hh"
#include "dnswriter.hh"
#include "dns_random.hh"
#include "dnsseckeeper.hh"
#include "dnspacket.hh"
#include "namespaces.hh"
-#include <boost/foreach.hpp>
+
uint32_t localtime_format_YYYYMMDDSS(time_t t, uint32_t seq)
{
#include "signingpipe.hh"
#include "misc.hh"
#include <poll.h>
-#include <boost/foreach.hpp>
+
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include "dns.hh"
#include "arguments.hh"
#include "packetcache.hh"
-#include <boost/foreach.hpp>
+
#include <boost/lexical_cast.hpp>
#include "base64.hh"
#include "inflighter.cc"
#include "arguments.hh"
#include "lock.hh"
#include "iputils.hh"
-#include <boost/foreach.hpp>
+
#include "namespaces.hh"
#include "config.h"
#endif
#include <boost/algorithm/string.hpp>
-#include <boost/foreach.hpp>
+
#include "lua-recursor.hh"
#include "utility.hh"
#include "syncres.hh"
#include <string>
#include "tcpreceiver.hh"
#include "sstuff.hh"
-#include <boost/foreach.hpp>
+
#include <errno.h>
#include <signal.h>
#include "base64.hh"
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
#include "base32.hh"
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/std/map.hpp>
-#include <boost/foreach.hpp>
+
#include "base64.hh"
using namespace boost;
#include "misc.hh"
#include "pdnsexception.hh"
#include <utility>
-#include <boost/foreach.hpp>
+
#include <sstream>
#include <cstdlib>
#include "dnsname.hh"
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/std/map.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/accumulators/statistics/median.hpp>
#include <boost/accumulators/statistics/mean.hpp>
#include <boost/accumulators/accumulators.hpp>
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
#include <boost/scoped_ptr.hpp>
#include "dnsrecords.hh"
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include "md5.hh"
#include "misc.hh"
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
#include "misc.hh"
#include "dns.hh"
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
#include "sha.hh"
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
#include <stdint.h>
#include "misc.hh"
#endif
#include <boost/test/unit_test.hpp>
#include <boost/assign/list_of.hpp>
-#include <boost/foreach.hpp>
+
#include <boost/tuple/tuple.hpp>
#include <boost/iostreams/stream.hpp>
#include <boost/iostreams/device/file.hpp>
#include <iostream>
#include <sstream>
#include <functional>
-#include <boost/foreach.hpp>
+
#include "dns.hh"
#include "arguments.hh"
#include "dnsbackend.hh"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include <boost/foreach.hpp>
+
#include <boost/tokenizer.hpp>
#include <boost/circular_buffer.hpp>
#include "namespaces.hh"
#include "comment.hh"
#include "ueberbackend.hh"
#include <boost/format.hpp>
-#include <boost/foreach.hpp>
+
#include "namespaces.hh"
#include "rapidjson/document.h"
#include "rapidjson/stringbuffer.h"
#endif
#include "ws-recursor.hh"
#include "json.hh"
-#include <boost/foreach.hpp>
+
#include <string>
#include "namespaces.hh"
#include <iostream>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <boost/foreach.hpp>
+
#include "json11.hpp"
using namespace json11;
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
-#include <boost/foreach.hpp>
+
StatBag S;