]> git.meshlink.io Git - meshlink/commit
Clean up the request jump table.
authorGuus Sliepen <guus@meshlink.io>
Wed, 30 Dec 2020 13:53:46 +0000 (14:53 +0100)
committerGuus Sliepen <guus@meshlink.io>
Wed, 30 Dec 2020 13:53:46 +0000 (14:53 +0100)
commit9ae205157e4ba739dccab09cdbbc583c162b675a
tree03628940fa298215adb3aff38198470dbdbfe47a
parentaf60e5f5164b28495c4a441f38c86e8f6b184a38
Clean up the request jump table.

Use C99 designated array initializers to ensure the jump table and list of
request names is kept in sync with the enums.
src/protocol.c
src/protocol.h