Function rmw_security_options_copy

Function Documentation

rmw_ret_t rmw_security_options_copy(const rmw_security_options_t *src, const rcutils_allocator_t *allocator, rmw_security_options_t *dst)

Copy the given security options.

Parameters:
  • src[in] security options to be copied.

  • allocator[in] allocator used when copying data to the new security options.

  • dst[out] security options to be set.

Returns:

RMW_RET_BAD_ALLOC, or

Returns:

RMW_RET_OK