File: resolve-context.hh

package info (click to toggle)
pdns-recursor 4.1.11-1+deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,936 kB
  • sloc: cpp: 54,211; javascript: 26,587; sh: 11,872; makefile: 453; xml: 37
file content (22 lines) | stat: -rw-r--r-- 377 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "config.h"

#ifdef HAVE_PROTOBUF
#include <boost/uuid/uuid.hpp>
#endif

struct ResolveContext {
  ResolveContext()
  {
  }
  ResolveContext(const ResolveContext& ctx)
  {
#ifdef HAVE_PROTOBUF
    this->d_initialRequestId = ctx.d_initialRequestId;
#endif
  }
#ifdef HAVE_PROTOBUF
  boost::optional<const boost::uuids::uuid&> d_initialRequestId;
#endif
};