Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/utils.h @ 952:527d6f234924
Small code cleanup
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 26 Aug 2006 21:13:13 +0200 |
parents | 8f8d8f8157a2 |
children | 5b01de4ac5e1 |
comparison
equal
deleted
inserted
replaced
951:f243293e70ad | 952:527d6f234924 |
---|---|
7 | 7 |
8 #define to_utf8(s) ((s) ? g_locale_to_utf8((s), -1, NULL,NULL,NULL) : NULL) | 8 #define to_utf8(s) ((s) ? g_locale_to_utf8((s), -1, NULL,NULL,NULL) : NULL) |
9 #define from_utf8(s) ((s) ? g_convert_with_fallback((s), -1, LocaleCharSet, \ | 9 #define from_utf8(s) ((s) ? g_convert_with_fallback((s), -1, LocaleCharSet, \ |
10 "UTF-8", NULL,NULL,NULL,NULL) : NULL) | 10 "UTF-8", NULL,NULL,NULL,NULL) : NULL) |
11 | 11 |
12 void ut_InitDebug(unsigned int level, const char *file); | 12 void ut_InitDebug(int level, const char *file); |
13 void ut_WriteLog(unsigned int flag, const char *data); | 13 void ut_WriteLog(unsigned int flag, const char *data); |
14 | 14 |
15 int checkset_perm(const char *name, unsigned int setmode); | 15 int checkset_perm(const char *name, unsigned int setmode); |
16 | 16 |
17 const char *ut_get_tmpdir(void); | 17 const char *ut_get_tmpdir(void); |