Skip to content

Commit

Permalink
Use one participant per context API changes (#77)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno authored Apr 3, 2020
1 parent 350b1ca commit 8097e61
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions rmw_implementation/src/functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,8 @@ RMW_INTERFACE_FN(
RMW_INTERFACE_FN(
rmw_create_node,
rmw_node_t *, nullptr,
6, ARG_TYPES(
rmw_context_t *, const char *, const char *, size_t, const rmw_node_security_options_t *,
bool))
5, ARG_TYPES(
rmw_context_t *, const char *, const char *, size_t, bool))

RMW_INTERFACE_FN(
rmw_destroy_node,
Expand Down Expand Up @@ -517,6 +516,13 @@ RMW_INTERFACE_FN(
rmw_ret_t, RMW_RET_ERROR,
3, ARG_TYPES(const rmw_node_t *, rcutils_string_array_t *, rcutils_string_array_t *))

RMW_INTERFACE_FN(
rmw_get_node_names_with_security_contexts,
rmw_ret_t, RMW_RET_ERROR,
4, ARG_TYPES(
const rmw_node_t *, rcutils_string_array_t *,
rcutils_string_array_t *, rcutils_string_array_t *))

RMW_INTERFACE_FN(
rmw_count_publishers,
rmw_ret_t, RMW_RET_ERROR,
Expand Down Expand Up @@ -636,6 +642,7 @@ void prefetch_symbols(void)
GET_SYMBOL(rmw_get_topic_names_and_types)
GET_SYMBOL(rmw_get_service_names_and_types)
GET_SYMBOL(rmw_get_node_names)
GET_SYMBOL(rmw_get_node_names_with_security_contexts)
GET_SYMBOL(rmw_count_publishers)
GET_SYMBOL(rmw_count_subscribers)
GET_SYMBOL(rmw_get_gid_for_publisher)
Expand Down

0 comments on commit 8097e61

Please sign in to comment.