mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 20:55:07 +00:00
7 lines
342 B
Text
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)
|
|
}
|