1 #ifndef __MCABBER_LOGPRINT_H__
2 #define __MCABBER_LOGPRINT_H__ 1
3 
4 #include <glib.h>
5 
6 // Flags for scr_LogPrint()
7 #define LPRINT_NORMAL   1U  // Display in log window
8 #define LPRINT_LOG      2U  // Log to file (if enabled)
9 #define LPRINT_DEBUG    4U  // Debug message (log if enabled)
10 #define LPRINT_NOTUTF8  8U  // Do not convert from UTF-8 to locale
11 
12 // For convenience...
13 #define LPRINT_LOGNORM  (LPRINT_NORMAL|LPRINT_LOG)
14 
15 void scr_print_logwindow(const char *string);
16 void scr_log_print(unsigned int flag, const char *fmt, ...) G_GNUC_PRINTF (2, 3);
17 void scr_do_update(void);
18 
19 // For backward compatibility:
20 #define scr_LogPrint    scr_log_print
21 
22 #endif /* __MCABBER_LOGPRINT_H__ */
23 
24 /* vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2:  For Vim users... */
25