Reduce duplication in request handler tables
authorKirill Isakov <bootctl@gmail.com>
Mon, 11 Apr 2022 18:41:29 +0000 (00:41 +0600)
committerKirill Isakov <bootctl@gmail.com>
Mon, 11 Apr 2022 18:41:29 +0000 (00:41 +0600)
commit56621be326497d56db0c4c372ae3cc497018cfcf
treee7dbc3465235efbd8b42197acd28391d6f60e657
parente7a81dd2124397ff6c308f30d66d8b994d699746
Reduce duplication in request handler tables

Request handlers and request names are now grouped together so there's
less chance of messing up the order (however unlikely it may have been).
src/protocol.c
src/protocol.h
test/unit/meson.build
test/unit/test_protocol.c [new file with mode: 0644]