1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-17 20:55:07 +00:00
serenity/Userland/Services/LookupServer/LookupServer.ipc
Ben Wiederhake 2798a19c70 LibC+LookupServer: Use u32 for the endpoint magic
That's how LibIPC treats it, too.
2021-11-05 00:17:01 +03:30

7 lines
342 B
Text

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