Function rs2_get_option_value_from_list

Function Documentation

rs2_option_value const *rs2_get_option_value_from_list(const rs2_options_list *options, int i, rs2_error **error)

get the specific option from options list

Parameters:
  • i[in] the index of the option

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

temporary (goes away with the options-list) pointer to the option-value struct