Skip to content

Commit

Permalink
Add doc for report_format_param_value_in_options
Browse files Browse the repository at this point in the history
  • Loading branch information
timopollmeier committed May 17, 2024
1 parent 8ca3220 commit 4f29ca4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/manage_sql_report_formats.c
Original file line number Diff line number Diff line change
Expand Up @@ -2407,6 +2407,14 @@ report_format_param_type_min (report_format_t report_format, const char *name)
return min;
}

/**
* @brief Checks if the value of a report format param is a valid option.
*
* @param[in] param The report format param to check.
* @param[in] value The value to check.
*
* @return 1 if the value is one of the allowed options, 0 if not.
*/
static int
report_format_param_value_in_options (report_format_param_t param,
const char *value)
Expand Down

0 comments on commit 4f29ca4

Please sign in to comment.