minor cleanup

pull/19/head
Ryan Tharp 6 years ago
parent c11e61a51d
commit 46f6d005d7

@ -19,21 +19,9 @@ extern "C"
* dns client/server
*/
//#include <mutex>
// 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

@ -11,6 +11,8 @@
#include <llarp/net.hpp> // 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)

Loading…
Cancel
Save