From 46f6d005d74aa4edba82d313e9fab38ecfd0cf5a Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Mon, 1 Oct 2018 02:59:50 -0700 Subject: [PATCH] minor cleanup --- include/llarp/dns.h | 12 ------------ include/llarp/dns.hpp | 2 ++ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/include/llarp/dns.h b/include/llarp/dns.h index 622158c87..377a00b0d 100644 --- a/include/llarp/dns.h +++ b/include/llarp/dns.h @@ -19,21 +19,9 @@ extern "C" * dns client/server */ - //#include - // typedef std::mutex mtx_t; - // typedef std::lock_guard< mtx_t > lock_t; - // fwd declr - // struct dns_query; - struct dnsc_context; - struct dnsd_context; - // struct dnsd_question_request; struct dnsc_answer_request; - // struct dns_tracker; - - // should we pass by llarp::Addr - // not as long as we're supporting raw typedef void (*dnsc_answer_hook_func)(dnsc_answer_request *request); #ifdef __cplusplus diff --git a/include/llarp/dns.hpp b/include/llarp/dns.hpp index 83560ccad..001811116 100644 --- a/include/llarp/dns.hpp +++ b/include/llarp/dns.hpp @@ -11,6 +11,8 @@ #include // for llarp::Addr +struct dnsd_context; + // dnsc can work over any UDP socket // however we can't ignore udp->user // we need to be able to reference the request (being a request or response)