Mercurial > hg
annotate mcabber/src/logprint.h @ 1461:8fa24a6d1a93
Improve Remote Controlling Clients
The XEP recommends adding the node to the IQ response.
Some clients seem not to understand the answer when it is omitted.
Problem reported by Rhaamo and js (thanks to js for spotting the
node issue!).
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 12 Apr 2008 13:35:03 +0200 |
parents | f89844a0448a |
children | 63dc211a4c1a |
rev | line source |
---|---|
374
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
1 #ifndef __LOGPRINT_H__ |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
2 #define __LOGPRINT_H__ 1 |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
3 |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
4 // Flags for scr_LogPrint() |
952 | 5 #define LPRINT_NORMAL 1U // Display in log window |
6 #define LPRINT_LOG 2U // Log to file (if enabled) | |
7 #define LPRINT_DEBUG 4U // Debug message (log if enabled) | |
8 #define LPRINT_NOTUTF8 8U // Do not convert from UTF-8 to locale | |
374
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
9 |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
10 // For convenience... |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
11 #define LPRINT_LOGNORM (LPRINT_NORMAL|LPRINT_LOG) |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
12 |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
13 void scr_LogPrint(unsigned int flag, const char *fmt, ...); |
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
14 |
1413 | 15 void scr_DoUpdate(void); |
1274
c33b5b6fbf08
Fix screen refresh issue (spotted by franky)
Mikael Berthe <mikael@lilotux.net>
parents:
952
diff
changeset
|
16 |
374
bd5638c21834
Improve logging system (traces)
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
17 #endif /* __LOGPRINT_H__ */ |
576 | 18 |
580 | 19 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ |