Add localhost boolean parameter to create node function (#50)
* Add localhost boolean parameter to create node function Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com> * Cast to void to avoid compilation warning Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
This commit is contained in:
parent
1205ab5ea2
commit
33fed3a65c
1 changed files with 3 additions and 1 deletions
|
@ -491,9 +491,11 @@ static std::string get_node_user_data(const char * node_name, const char * node_
|
|||
extern "C" rmw_node_t * rmw_create_node(
|
||||
rmw_context_t * context, const char * name,
|
||||
const char * namespace_, size_t domain_id,
|
||||
const rmw_node_security_options_t * security_options)
|
||||
const rmw_node_security_options_t * security_options,
|
||||
bool localhost_only)
|
||||
{
|
||||
static_cast<void>(context);
|
||||
static_cast<void>(localhost_only);
|
||||
RET_NULL_X(name, return nullptr);
|
||||
RET_NULL_X(namespace_, return nullptr);
|
||||
#if MULTIDOMAIN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue