New API call Xorriso__severity_list()

This commit is contained in:
2012-12-15 09:29:08 +00:00
parent 513bafda92
commit d02501c16e
5 changed files with 26 additions and 8 deletions

View File

@@ -529,6 +529,7 @@ int Xorriso_set_problem_status(struct XorrisO *xorriso, char *severity,
*/
/** Compare two severity texts for their severeness.
Unknown severity texts get defaulted to "FATAL".
@since 1.2.6
@param sev1 First severity text to compare
@param sev2 Second severity text to compare
@@ -539,6 +540,16 @@ int Xorriso_set_problem_status(struct XorrisO *xorriso, char *severity,
int Xorriso__severity_cmp(char *sev1, char *sev2);
/** Return a blank separated list of severity names. Sorted from low
to high severity.
@since 1.2.6
@param flag Bitfield for control purposes (unused yet, submit 0)
@return A constant string with the severity names
*/
char *Xorriso__severity_list(int flag);
/** Obtain the current problem status of the xorriso handle.
@param xorriso The environment handle
@param severity The severity text matching the current problem status