Skip to content

Commit

Permalink
Add call-through function for notifying about network interfaces
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Jakymiw <[email protected]>
  • Loading branch information
Sebastian Jakymiw committed Jan 19, 2023
1 parent e029780 commit 57516ea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rmw/include/rmw/rmw.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_

0 comments on commit 57516ea

Please sign in to comment.