From 1e9ea9c671be7b1f340c131a8e33842645f994a1 Mon Sep 17 00:00:00 2001 From: Sebastian Jakymiw Date: Mon, 9 Jan 2023 10:54:14 -0500 Subject: [PATCH] Add call-through function for notifying about network interfaces --- rmw/include/rmw/rmw.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/rmw/include/rmw/rmw.h b/rmw/include/rmw/rmw.h index 2fee3977..8dcaa3f4 100644 --- a/rmw/include/rmw/rmw.h +++ b/rmw/include/rmw/rmw.h @@ -2787,8 +2787,19 @@ RMW_WARN_UNUSED rmw_ret_t rmw_set_log_severity(rmw_log_severity_t severity); +/// Notify fast-dds to re-scan networks +/** + * \param[in] context The ROS context to call notify networks on. + * \return RMW_RET_OK if successful, otherwise an appropriate error code + */ +RMW_PUBLIC +RMW_WARN_UNUSED +rmw_ret_t +rmw_notify_participant_dynamic_network_interface(rmw_context_t * context); + #ifdef __cplusplus } #endif #endif // RMW__RMW_H_ +