Function rmw_security_options_set_root_path

Function Documentation

rmw_ret_t rmw_security_options_set_root_path(const char *security_root_path, const rcutils_allocator_t *allocator, rmw_security_options_t *security_options)

Set the security root path for the given security options.

The provided security_root_path will be copied into allocated memory.

Parameters:
  • security_root_path[in] path to be set.

  • allocator[in] allocator used to allocate the new path.

  • security_options[inout] security options to be set.

Returns:

RMW_RET_BAD_ALLOC, or

Returns:

RMW_RET_OK