Skip to content

Commit

Permalink
Add rmw_use_node_name_in_security_directory_lookup function
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno committed Jan 28, 2020
1 parent 61147fe commit 9b9bdce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rmw_implementation/src/functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "rmw/get_topic_endpoint_info.h"
#include "rmw/get_topic_names_and_types.h"
#include "rmw/rmw.h"
#include "rmw/security.h"

#define STRINGIFY_(s) #s
#define STRINGIFY(s) STRINGIFY_(s)
Expand Down Expand Up @@ -483,6 +484,10 @@ RMW_INTERFACE_FN(rmw_get_subscriptions_info_by_topic,
bool,
rmw_topic_endpoint_info_array_t *))

RMW_INTERFACE_FN(rmw_use_node_name_in_security_directory_lookup,
bool, true,
0, ARG_TYPES(void))

#define GET_SYMBOL(x) symbol_ ## x = get_symbol(#x);

void prefetch_symbols(void)
Expand Down Expand Up @@ -558,6 +563,7 @@ void prefetch_symbols(void)
GET_SYMBOL(rmw_set_log_severity)
GET_SYMBOL(rmw_get_publishers_info_by_topic)
GET_SYMBOL(rmw_get_subscriptions_info_by_topic)
GET_SYMBOL(rmw_use_node_name_in_security_directory_lookup)
}

void * symbol_rmw_init = nullptr;
Expand Down

0 comments on commit 9b9bdce

Please sign in to comment.