Function wyrd_set_resource_option

Function Documentation

wyrd_error_t wyrd_set_resource_option(struct wyrd_handle *handle, wyrd_resource_options option, void *value)

Set resource options on an open handle representing a vessel resource.

Parameters
  • handle – [in] The opened vessel resource handle.

  • option – [in] The type of option to set.

  • value – [in] A pointer to a option type specific value.

Return values
  • WYRD_ERR_SUCCESS – On success.

  • WYRD_ERR_INVALID_HANDLE – If the handle was opened or the wrong type. This is also returned if the option was unknown.