- simplified errormsg interface

This commit is contained in:
zolliker
2008-06-13 11:15:14 +00:00
parent 657afffe9c
commit 0305826724
4 changed files with 34 additions and 81 deletions

View File

@ -19,15 +19,14 @@ typedef struct ErrMsg {
*
* The error message list contains only one entry for all messages
* with the same text, storing only the count and the last used time.
* Characters within sqaure brackets are not taken into account
* Characters within square brackets are not taken into account
* when comparing messages.
* The newset message is always at the head of the list.
* The new message is always at the head of the list.
*
* \param dump the error message list
* \param current The currently active error message
* \param fmt the format for the message
* \return the new error message list head
*/
ErrMsg *ErrPutMsg(ErrMsg *dump, ErrMsg **current, char *fmt, ...);
ErrMsg *ErrPutMsg(ErrMsg *dump, char *fmt, ...);
#endif