Skip to content

Commit 5309c57

Browse files
author
Sebastian Jakymiw
committed
add dynamic network interface funtion
Signed-off-by: Sebastian Jakymiw <[email protected]>
1 parent 8c3c133 commit 5309c57

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

rmw_implementation/src/functions.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,12 @@ RMW_INTERFACE_FN(
747747
1, ARG_TYPES(
748748
rmw_feature_t))
749749

750+
RMW_INTERFACE_FN(
751+
rmw_notify_participant_dynamic_network_interface,
752+
rmw_ret_t, RMW_RET_ERROR,
753+
1, ARG_TYPES(
754+
rmw_context_t *))
755+
750756
#define GET_SYMBOL(x) symbol_ ## x = get_symbol(#x);
751757

752758
void prefetch_symbols(void)
@@ -840,6 +846,7 @@ void prefetch_symbols(void)
840846
GET_SYMBOL(rmw_client_set_on_new_response_callback)
841847
GET_SYMBOL(rmw_event_set_callback)
842848
GET_SYMBOL(rmw_feature_supported)
849+
GET_SYMBOL(rmw_notify_participant_dynamic_network_interface)
843850
}
844851

845852
void * symbol_rmw_init = nullptr;
@@ -956,5 +963,6 @@ unload_library()
956963
symbol_rmw_client_set_on_new_response_callback = nullptr;
957964
symbol_rmw_event_set_callback = nullptr;
958965
symbol_rmw_feature_supported = nullptr;
966+
symbol_rmw_notify_participant_dynamic_network_interface = nullptr;
959967
g_rmw_lib.reset();
960968
}

0 commit comments

Comments
 (0)