ladybird/Userland/Services/LookupServer
sin-ack 62af6cd4f9 IPCCompiler: Remove hardcoded endpoint magic, attempt deux
This patch removes the IPC endpoint numbers that needed to be specified
in the IPC files.  Since the string hash is a (hopefully) collision free
number that depends on the name of the endpoint, we now use that
instead. :^)

Additionally, endpoint magic is now treated as a u32, because endpoint
numbers were never negative anyway.

For cases where the endpoint number does have to be hardcoded (a current
case is LookupServer because the endpoint number must be known in LibC),
the syntax has been made more explicit to avoid confusing those
unfamiliar.  To hardcode the endpoint magic, the following syntax is now
used:

endpoint EndpointName [magic=1234]
2021-04-25 14:06:56 +02:00
..
ClientConnection.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ClientConnection.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt LookupServer: Implement a DNS server :^) 2021-02-15 09:14:42 +01:00
DNSAnswer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSAnswer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSName.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSName.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSPacket.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSPacket.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSPacketHeader.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSQuestion.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSServer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSServer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LookupClient.ipc IPCCompiler: Remove hardcoded endpoint magic, attempt deux 2021-04-25 14:06:56 +02:00
LookupServer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LookupServer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LookupServer.ipc IPCCompiler: Remove hardcoded endpoint magic, attempt deux 2021-04-25 14:06:56 +02:00
main.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00