summaryrefslogtreecommitdiff
path: root/Userland/Services/LookupServer/DNSName.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2021-02-14 15:16:20 +0300
committerAndreas Kling <kling@serenityos.org>2021-02-15 09:14:42 +0100
commitd6f7ced4f100841a9123ee4835a116eea86c2034 (patch)
tree3e1bf1159f26e2a06a9ceb3ce4f34db7350737e9 /Userland/Services/LookupServer/DNSName.h
parent42bc5f2cc19c5c528aed8902bb8a48e902da025f (diff)
downloadserenity-d6f7ced4f100841a9123ee4835a116eea86c2034.zip
LookupServer: Move DNS name serialization to DNSName class
Diffstat (limited to 'Userland/Services/LookupServer/DNSName.h')
-rw-r--r--Userland/Services/LookupServer/DNSName.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Services/LookupServer/DNSName.h b/Userland/Services/LookupServer/DNSName.h
index 21d1b88e47..dc0fe7b5c2 100644
--- a/Userland/Services/LookupServer/DNSName.h
+++ b/Userland/Services/LookupServer/DNSName.h
@@ -27,6 +27,7 @@
#pragma once
+#include <AK/Forward.h>
#include <AK/String.h>
namespace LookupServer {
@@ -43,4 +44,6 @@ private:
String m_name;
};
+OutputStream& operator<<(OutputStream& stream, const DNSName&);
+
}