blob: 60a3f6772fa873fc1fa4b1b550f3bde00f074b31 (
plain)
1
2
3
4
5
6
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)
}
|