Function rmw_subscription_content_filter_options_copy

Function Documentation

rmw_ret_t rmw_subscription_content_filter_options_copy(const rmw_subscription_content_filter_options_t *src, const rcutils_allocator_t *allocator, rmw_subscription_content_filter_options_t *dst)

Copy the given content filter options.

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

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

  • dst[out] content filter options to be set.

Returns:

RMW_RET_INVALID_ARGUMENT, or

Returns:

RMW_RET_BAD_ALLOC, or

Returns:

RMW_RET_OK