diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 18068460..306d81f2 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2008.02.03.092134" +#define Cdrskin_timestamP "2008.02.03.092509" diff --git a/libburn/trunk/libburn/init.c b/libburn/trunk/libburn/init.c index 0a4c6c0d..55c51a5c 100644 --- a/libburn/trunk/libburn/init.c +++ b/libburn/trunk/libburn/init.c @@ -281,6 +281,18 @@ int burn_text_to_sev(char *severity_name, int *sevno, int flag) } +/* ts A80202 API */ +int burn_sev_to_text(int severity_number, char **severity_name, int flag) +{ + int ret; + + ret = libdax_msgs__sev_to_text(severity_number, severity_name, 0); + if (ret <= 0) + *severity_name = "FATAL"; + return ret; +} + + int burn_builtin_abort_handler(void *handle, int signum, int flag) { diff --git a/libburn/trunk/libburn/libburn.h b/libburn/trunk/libburn/libburn.h index 8591a11b..afc4a302 100644 --- a/libburn/trunk/libburn/libburn.h +++ b/libburn/trunk/libburn/libburn.h @@ -2146,6 +2146,16 @@ int burn_msgs_submit(int error_code, char msg_text[], int os_errno, int burn_text_to_sev(char *severity_name, int *severity_number, int flag); +/* ts A80202 : @since 0.4.4 */ +/** Convert a severity number into a severity name + @param severity_number The rank number: the higher, the more severe. + @param severity_name A name as with burn_msgs_submit(), e.g. "SORRY". + @param flag Bitfield for control purposes (unused yet, submit 0) +*/ +int burn_sev_to_text(int severity_number, char **severity_name, int flag); + + + /* ts A70915 */ /** Replace the messenger object handle of libburn by a compatible handle obtained from a related library.