#pragma once #include #include #include #include "w6300.h" struct handler_entry { int8_t type_id; std::vector> (*handle)(uint32_t message_id); }; void dispatch_init(); [[noreturn]] void dispatch_run(std::span handlers, std::span sockets = {});