summaryrefslogtreecommitdiff
path: root/Userland/Services/LookupServer/LookupServer.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /Userland/Services/LookupServer/LookupServer.h
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'Userland/Services/LookupServer/LookupServer.h')
-rw-r--r--Userland/Services/LookupServer/LookupServer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Services/LookupServer/LookupServer.h b/Userland/Services/LookupServer/LookupServer.h
index 88c7fcc740..6f5a90d904 100644
--- a/Userland/Services/LookupServer/LookupServer.h
+++ b/Userland/Services/LookupServer/LookupServer.h
@@ -24,15 +24,15 @@ class LookupServer final : public Core::Object {
public:
static LookupServer& the();
- ErrorOr<Vector<DNSAnswer>> lookup(const DNSName& name, DNSRecordType record_type);
+ ErrorOr<Vector<DNSAnswer>> lookup(DNSName const& name, DNSRecordType record_type);
private:
LookupServer();
void load_etc_hosts();
- void put_in_cache(const DNSAnswer&);
+ void put_in_cache(DNSAnswer const&);
- ErrorOr<Vector<DNSAnswer>> lookup(const DNSName& hostname, const String& nameserver, bool& did_get_response, DNSRecordType record_type, ShouldRandomizeCase = ShouldRandomizeCase::Yes);
+ ErrorOr<Vector<DNSAnswer>> lookup(DNSName const& hostname, String const& nameserver, bool& did_get_response, DNSRecordType record_type, ShouldRandomizeCase = ShouldRandomizeCase::Yes);
OwnPtr<IPC::MultiServer<ConnectionFromClient>> m_server;
RefPtr<DNSServer> m_dns_server;