mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
290 B
C++
15 lines
290 B
C++
2 years ago
|
#pragma once
|
||
|
#include "platform.hpp"
|
||
|
|
||
|
namespace llarp::dns
|
||
|
{
|
||
|
/// a dns platform does silently does nothing, successfully
|
||
|
class Null_Platform : public I_Platform
|
||
|
{
|
||
|
public:
|
||
|
void
|
||
|
set_resolver(std::string, llarp::SockAddr, bool) override
|
||
|
{}
|
||
|
};
|
||
|
} // namespace llarp::dns
|