1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:17:36 +00:00

LibC+LookupServer: Use u32 for the endpoint magic

That's how LibIPC treats it, too.
This commit is contained in:
Ben Wiederhake 2021-11-03 23:06:24 +01:00 committed by Ali Mohammad Pur
parent 34a8ee6da5
commit 2798a19c70
2 changed files with 6 additions and 5 deletions

View file

@ -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)
}