route.hpp 393 B

123456789101112
  1. #ifndef __ROUTE_HPP__
  2. #define __ROUTE_HPP__
  3. // Call this near the end of ecall_config_load, but before
  4. // comms_init_nodestate. Returns true on success, false on failure.
  5. bool route_init();
  6. // For a given other node, set the received message handler to the first
  7. // message we would expect from them, given their roles and our roles.
  8. void route_init_msg_handler(nodenum_t node_num);
  9. #endif