Improve message functions to support message formating in printf style.

This commit is contained in:
Vreixo Formoso
2007-12-17 21:12:51 +01:00
parent f279676b6b
commit 159b775d22
6 changed files with 92 additions and 49 deletions

View File

@ -63,16 +63,16 @@
/** Unsupported file type for Joliet tree */
#define LIBISO_JOLIET_WRONG_FILE_TYPE 0x00030301
void iso_msg_debug(IsoImage *img, char *msg_text);
void iso_msg_debug(IsoImage *img, const char *fmt, ...);
void iso_msg_note(IsoImage *img, int error_code, char *msg_text);
void iso_msg_note(IsoImage *img, int error_code, const char *fmt, ...);
void iso_msg_hint(IsoImage *img, int error_code, char *msg_text);
void iso_msg_hint(IsoImage *img, int error_code, const char *fmt, ...);
void iso_msg_warn(IsoImage *img, int error_code, char *msg_text);
void iso_msg_warn(IsoImage *img, int error_code, const char *fmt, ...);
void iso_msg_sorry(IsoImage *img, int error_code, char *msg_text);
void iso_msg_sorry(IsoImage *img, int error_code, const char *fmt, ...);
void iso_msg_fatal(IsoImage *img, int error_code, char *msg_text);
void iso_msg_fatal(IsoImage *img, int error_code, const char *fmt, ...);
#endif /*MESSAGES_H_*/