summaryrefslogtreecommitdiff
path: root/Userland/Services/LookupServer
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-11-03 23:06:24 +0100
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-11-05 00:17:01 +0330
commit2798a19c70a2bbf41af085931d1b4c6eeee4e1fe (patch)
treeba2fa28bcac9d508fc22b8c960744297a5d5539b /Userland/Services/LookupServer
parent34a8ee6da50352c2bdd522a765f7bec097a2806b (diff)
downloadserenity-2798a19c70a2bbf41af085931d1b4c6eeee4e1fe.zip
LibC+LookupServer: Use u32 for the endpoint magic
That's how LibIPC treats it, too.
Diffstat (limited to 'Userland/Services/LookupServer')
-rw-r--r--Userland/Services/LookupServer/LookupServer.ipc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/LookupServer/LookupServer.ipc b/Userland/Services/LookupServer/LookupServer.ipc
index ab1a6475fa..60a3f6772f 100644
--- a/Userland/Services/LookupServer/LookupServer.ipc
+++ b/Userland/Services/LookupServer/LookupServer.ipc
@@ -1,6 +1,7 @@
// Keep the name synchronized with LibC/netdb.cpp, constant 'lookup_server_endpoint_magic'.
endpoint LookupServer
{
+ // Keep these definitions synchronized with gethostbyname and gethostbyaddr in netdb.cpp
lookup_name(String name) => (int code, Vector<String> addresses)
lookup_address(String address) => (int code, String name)
}