comparison mcabber/src/logprint.h @ 771:ce4f8a2129a4

scr_LogPrint() can display UTF-8 strings
author Mikael Berthe <mikael@lilotux.net>
date Sat, 25 Mar 2006 18:00:40 +0100
parents fed6d1e4d7a9
children 527d6f234924
comparison
equal deleted inserted replaced
770:c3bb5ae65a86 771:ce4f8a2129a4
3 3
4 // Flags for scr_LogPrint() 4 // Flags for scr_LogPrint()
5 #define LPRINT_NORMAL 1 // Display in log window 5 #define LPRINT_NORMAL 1 // Display in log window
6 #define LPRINT_LOG 2 // Log to file (if enabled) 6 #define LPRINT_LOG 2 // Log to file (if enabled)
7 #define LPRINT_DEBUG 4 // Debug message (log if enabled) 7 #define LPRINT_DEBUG 4 // Debug message (log if enabled)
8 #define LPRINT_NOTUTF8 8 // Do not convert from UTF-8 to locale
8 9
9 // For convenience... 10 // For convenience...
10 #define LPRINT_LOGNORM (LPRINT_NORMAL|LPRINT_LOG) 11 #define LPRINT_LOGNORM (LPRINT_NORMAL|LPRINT_LOG)
11 12
12 void scr_LogPrint(unsigned int flag, const char *fmt, ...); 13 void scr_LogPrint(unsigned int flag, const char *fmt, ...);