New API call Xorriso__severity_cmp()
This commit is contained in:
@ -524,10 +524,21 @@ int Xorriso_set_problem_status(struct XorrisO *xorriso, char *severity,
|
||||
int flag);
|
||||
|
||||
|
||||
/* The next two functions are part of Xorriso_eval_problem_status().
|
||||
/* The next three functions are part of Xorriso_eval_problem_status().
|
||||
You may use them to build an own advisor function.
|
||||
*/
|
||||
|
||||
/** Compare two severity texts for their severeness.
|
||||
@since 1.2.6
|
||||
@param sev1 First severity text to compare
|
||||
@param sev2 Second severity text to compare
|
||||
@return -1 sev1 is less severe than sev2
|
||||
0 sev1 is equally severe to sev2
|
||||
1 sev1 is more severe than sev2
|
||||
*/
|
||||
int Xorriso__severity_cmp(char *sev1, char *sev2);
|
||||
|
||||
|
||||
/** Obtain the current problem status of the xorriso handle.
|
||||
@param xorriso The environment handle
|
||||
@param severity The severity text matching the current problem status
|
||||
|
Reference in New Issue
Block a user