Commit 603a3e81 authored by Claes Sjofors's avatar Claes Sjofors

Errh function errh_SetAnix added

parent 0da10c63
...@@ -237,6 +237,17 @@ errh_Anix() ...@@ -237,6 +237,17 @@ errh_Anix()
return errh_anix; return errh_anix;
} }
/**
* @brief Set application index for the process.
*/
void
errh_SetAnix(
errh_eAnix anix
)
{
errh_anix = anix;
}
/* Check if a given messagenumber exists, /* Check if a given messagenumber exists,
return string representation if valid. */ return string representation if valid. */
......
...@@ -192,6 +192,7 @@ void *errh_ErrArgL (int val); ...@@ -192,6 +192,7 @@ void *errh_ErrArgL (int val);
void errh_CErrLog (pwr_tStatus sts, ...); void errh_CErrLog (pwr_tStatus sts, ...);
char *errh_Message (char *string, char severity, char *msg, ...); char *errh_Message (char *string, char severity, char *msg, ...);
errh_eAnix errh_Anix (); errh_eAnix errh_Anix ();
void errh_SetAnix (errh_eAnix anix);
errh_eSeverity errh_Severity (pwr_tStatus); errh_eSeverity errh_Severity (pwr_tStatus);
/** @} */ /** @} */
......
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