diff options
author | qrort <qrort@yandex-team.com> | 2022-11-30 23:47:12 +0300 |
---|---|---|
committer | qrort <qrort@yandex-team.com> | 2022-11-30 23:47:12 +0300 |
commit | 22f8ae0e3f5d68b92aecccdf96c1d841a0334311 (patch) | |
tree | bffa27765faf54126ad44bcafa89fadecb7a73d7 /library/cpp/coroutine/dns/coro.h | |
parent | 332b99e2173f0425444abb759eebcb2fafaa9209 (diff) | |
download | ydb-22f8ae0e3f5d68b92aecccdf96c1d841a0334311.tar.gz |
validate canons without yatest_common
Diffstat (limited to 'library/cpp/coroutine/dns/coro.h')
-rw-r--r-- | library/cpp/coroutine/dns/coro.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/library/cpp/coroutine/dns/coro.h b/library/cpp/coroutine/dns/coro.h new file mode 100644 index 0000000000..62a01891b8 --- /dev/null +++ b/library/cpp/coroutine/dns/coro.h @@ -0,0 +1,22 @@ +#pragma once + +#include "iface.h" + +#include <util/generic/ptr.h> +#include <util/generic/ylimits.h> + +class TContExecutor; + +namespace NAsyncDns { + class TContResolver { + public: + TContResolver(TContExecutor* e, const TOptions& opts = TOptions()); + ~TContResolver(); + + void Resolve(const TNameRequest& hreq); + + private: + class TImpl; + THolder<TImpl> I_; + }; +} |