]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Move the definition of the DoQ thread to doq.hh
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 27 Sep 2023 23:23:27 +0000 (01:23 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 9 Oct 2023 11:38:06 +0000 (13:38 +0200)
pdns/dnsdist.hh
pdns/dnsdistdist/doq.hh

index 5d8cb3e1d3f60791aebe1788c3fffaeff5073ed1..dfaa3d1e58db540a3130f81d10129bac1877cf64 100644 (file)
@@ -1106,10 +1106,6 @@ struct LocalHolders
 
 void tcpAcceptorThread(std::vector<ClientState*> states);
 
-#ifdef HAVE_DNS_OVER_QUIC
-void doqThread(ClientState* cs);
-#endif /* HAVE_DNS_OVER_QUIC */
-
 void setLuaNoSideEffect(); // if nothing has been declared, set that there are no side effects
 void setLuaSideEffect();   // set to report a side effect, cancelling all _no_ side effect calls
 bool getLuaNoSideEffect(); // set if there were only explicit declarations of _no_ side effect
index 9f147be4d206c44a11e3e99e8a62a20b54a0d5bf..80e4552ff88949eb882d9c66f87d8f9feaefd053 100644 (file)
@@ -100,6 +100,8 @@ struct CrossProtocolQuery;
 struct DNSQuestion;
 std::unique_ptr<CrossProtocolQuery> getDOQCrossProtocolQueryFromDQ(DNSQuestion& dq, bool isResponse);
 
+void doqThread(ClientState* clientState);
+
 #else
 
 struct DOQUnit