#pragma once #include "rpc_base.h" // Read the message header from input, run the relevant command // and write response packet to output. // Returns false if the command asks to disconnect or an error // occurs that requires a disconnect. bool rpc_dispatch(rpc_istream_t *input, rpc_ostream_t *output);