- simplified errormsg interface
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user