diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-11-01 16:00:07 +0100 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-11-05 00:17:01 +0330 |
commit | 34a8ee6da50352c2bdd522a765f7bec097a2806b (patch) | |
tree | e4dc4e450cd64a3a223b78354cb9c41dd0d53493 /Userland/Services/LookupServer/LookupServer.ipc | |
parent | 0d6c8afa4e3da4983cd0b628cc4f2ecf71559a3a (diff) | |
download | serenity-34a8ee6da50352c2bdd522a765f7bec097a2806b.zip |
LibC+LookupServer: Compute magic number to avoid hardcoding
Diffstat (limited to 'Userland/Services/LookupServer/LookupServer.ipc')
-rw-r--r-- | Userland/Services/LookupServer/LookupServer.ipc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Services/LookupServer/LookupServer.ipc b/Userland/Services/LookupServer/LookupServer.ipc index de694e6f9f..ab1a6475fa 100644 --- a/Userland/Services/LookupServer/LookupServer.ipc +++ b/Userland/Services/LookupServer/LookupServer.ipc @@ -1,4 +1,5 @@ -endpoint LookupServer [magic=9001] +// Keep the name synchronized with LibC/netdb.cpp, constant 'lookup_server_endpoint_magic'. +endpoint LookupServer { lookup_name(String name) => (int code, Vector<String> addresses) lookup_address(String address) => (int code, String name) |