File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ typedef struct RMW_PUBLIC_TYPE rmw_init_options_t
5454 rmw_security_options_t security_options ;
5555 /// Enable localhost only
5656 rmw_localhost_only_t localhost_only ;
57- /// Context name
58- char * name ;
57+ /// Security context
58+ char * security_context ;
5959
6060 // TODO(wjwwood): replace with rmw_allocator_t when that refactor happens
6161 /// Allocator used during internal allocation of init options, if needed.
Original file line number Diff line number Diff line change @@ -1043,23 +1043,23 @@ rmw_get_node_names(
10431043 rcutils_string_array_t * node_names ,
10441044 rcutils_string_array_t * node_namespaces );
10451045
1046- /// Return a list of node name and namespaces discovered via a node, with its context names .
1046+ /// Return a list of node name and namespaces discovered via a node with its security context .
10471047/**
1048- * \sa Similar to rmw_get_node_names, but it also provides the context names of each node .
1048+ * \sa Similar to rmw_get_node_names, but it also provides the security context name .
10491049 *
10501050 * \param[in] node the handle to the node being used to query the ROS graph
10511051 * \param[out] node_names a list of discovered node names
10521052 * \param[out] node_namespaces a list of discovered node namespaces
1053- * \param[out] context_names list with the context names of the nodes
1053+ * \param[out] security_contexts list of the security context of the nodes
10541054 * \return `RMW_RET_OK` if node the query was made successfully, or
10551055 * \return `RMW_RET_ERROR` if an unspecified error occurs.
10561056 */
10571057rmw_ret_t
1058- rmw_get_node_names_with_context_names (
1058+ rmw_get_node_names_with_security_contexts (
10591059 const rmw_node_t * node ,
10601060 rcutils_string_array_t * node_names ,
10611061 rcutils_string_array_t * node_namespaces ,
1062- rcutils_string_array_t * context_names );
1062+ rcutils_string_array_t * security_contexts );
10631063
10641064RMW_PUBLIC
10651065RMW_WARN_UNUSED
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ rmw_get_zero_initialized_init_options(void)
3131 .implementation_identifier = NULL ,
3232 .impl = NULL ,
3333 .instance_id = 0 ,
34- .name = NULL ,
34+ .security_context = NULL ,
3535 .security_options = rmw_get_default_security_options (),
3636 }; // NOLINT(readability/braces): false positive
3737}
You can’t perform that action at this time.
0 commit comments