Skip to content

Commit 1e9ea9c

Browse files
author
Sebastian Jakymiw
committed
Add call-through function for notifying about network interfaces
1 parent e029780 commit 1e9ea9c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

rmw/include/rmw/rmw.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2787,8 +2787,19 @@ RMW_WARN_UNUSED
27872787
rmw_ret_t
27882788
rmw_set_log_severity(rmw_log_severity_t severity);
27892789

2790+
/// Notify fast-dds to re-scan networks
2791+
/**
2792+
* \param[in] context The ROS context to call notify networks on.
2793+
* \return RMW_RET_OK if successful, otherwise an appropriate error code
2794+
*/
2795+
RMW_PUBLIC
2796+
RMW_WARN_UNUSED
2797+
rmw_ret_t
2798+
rmw_notify_participant_dynamic_network_interface(rmw_context_t * context);
2799+
27902800
#ifdef __cplusplus
27912801
}
27922802
#endif
27932803

27942804
#endif // RMW__RMW_H_
2805+

0 commit comments

Comments
 (0)