File: resolve-context.hh

package info (click to toggle)
pdns-recursor 4.8.8-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,620 kB
  • sloc: cpp: 95,714; javascript: 20,651; sh: 4,679; makefile: 652; xml: 37
file content (21 lines) | stat: -rw-r--r-- 423 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
#pragma once

#include "config.h"

#include <boost/uuid/uuid.hpp>
#include <boost/optional.hpp>

struct ResolveContext {
  ResolveContext()
  {
  }

  ResolveContext(const ResolveContext& ctx) = delete;
  ResolveContext & operator=(const ResolveContext&) = delete;
  
  boost::optional<const boost::uuids::uuid&> d_initialRequestId;
  DNSName d_nsName;
#ifdef HAVE_FSTRM
  boost::optional<const DNSName&> d_auth;
#endif
};