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 <[email protected]>
  • Loading branch information
ivanpauno committed Feb 6, 2020
1 parent e31880a commit ff35c4e
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 @@ -557,6 +558,10 @@ RMW_INTERFACE_FN(
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 @@ -632,6 +637,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 ff35c4e

Please sign in to comment.