Commit 1e74d7a0 authored by Thomas Schmitt's avatar Thomas Schmitt

Introduced severity ERRFILE

parent c48244ab
#define Cdrskin_timestamP "2008.02.21.200956"
#define Cdrskin_timestamP "2008.02.21.201238"
......@@ -268,6 +268,8 @@ int libdax_msgs__text_to_sev(char *severity_name, int *severity,
else if(strncmp(severity_name,"DEBUG",5)==0)
else if(strncmp(severity_name,"ERRFILE",8)==0)
else if(strncmp(severity_name,"ALL",3)==0)
else {
......@@ -282,7 +284,7 @@ int libdax_msgs__sev_to_text(int severity, char **severity_name,
int flag)
if(flag&1) {
*severity_name= "";
......@@ -308,6 +310,8 @@ int libdax_msgs__sev_to_text(int severity, char **severity_name,
*severity_name= "UPDATE";
else if(severity>=LIBDAX_MSGS_SEV_DEBUG)
*severity_name= "DEBUG";
else if(severity>=LIBDAX_MSGS_SEV_ERRFILE)
*severity_name= "ERRFILE";
else if(severity>=LIBDAX_MSGS_SEV_ALL)
*severity_name= "ALL";
else {
......@@ -120,6 +120,19 @@ struct libdax_msgs_item;
#define LIBDAX_MSGS_SEV_ALL 0x00000000
/** Messages of this severity shall transport plain disk file paths
whenever an event of severity SORRY or above is related with an
individual disk file.
No message text shall be added to the file path. The ERRFILE message
shall be issued before the human readable message which carries the
true event severity. That message shall contain the file path so it
can be found by strstr(message, path)!=NULL.
The error code shall be the same as with the human readable message.
#define LIBDAX_MSGS_SEV_ERRFILE 0x08000000
/** Debugging messages not to be visible to normal users by default
#define LIBDAX_MSGS_SEV_DEBUG 0x10000000
......@@ -149,7 +162,7 @@ struct libdax_msgs_item;
like ISO image generation. A precondition for such a severity ease is
that the action can be continued after the incident.
See below MISHAP for what xorriso would need instead of this kind of SORRY
an generates for itself in case of libisofs image generation.
and generates for itself in case of libisofs image generation.
E.g.: A pattern yields no result.
A speed setting cannot be made.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment