mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:37:44 +00:00
LibC+LookupServer: Compute magic number to avoid hardcoding
This commit is contained in:
parent
0d6c8afa4e
commit
34a8ee6da5
2 changed files with 5 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue