]> git.ipfire.org Git - thirdparty/pdns.git/blame - pdns/resolve-context.hh
rec: Only log qname parsing errors when 'log-common-errors' is set
[thirdparty/pdns.git] / pdns / resolve-context.hh
CommitLineData
4898a348
RG
1#pragma once
2
3#include "config.h"
4
5#ifdef HAVE_PROTOBUF
6#include <boost/uuid/uuid.hpp>
7#endif
8
9struct ResolveContext {
10 ResolveContext()
11 {
12 }
13 ResolveContext(const ResolveContext& ctx)
14 {
15#ifdef HAVE_PROTOBUF
16 this->d_initialRequestId = ctx.d_initialRequestId;
17#endif
18 }
19#ifdef HAVE_PROTOBUF
20 boost::optional<const boost::uuids::uuid&> d_initialRequestId;
21#endif
22};