Function rmw_discovery_options_fini

Function Documentation

rmw_ret_t rmw_discovery_options_fini(rmw_discovery_options_t *discovery_options)

Destructor for rmw_discovery_options_t.

Parameters:
  • discovery_options[in] to destroy

  • allocator[in] to be used for destruction.

Returns:

RMW_RET_OK if success.

Returns:

RMW_RET_INVALID_ARGUMENT if allocator is invalid or discovery_options is null.