comparison mcabber/src/utils.h @ 977:5b01de4ac5e1

Cosmetic changes
author Alexis Hildebrandt <afh [at] 2drop [dot] net>
date Tue, 10 Oct 2006 20:15:06 +0200
parents 527d6f234924
children c0d44a9a99bc
comparison
equal deleted inserted replaced
976:d530e5fb506a 977:5b01de4ac5e1
6 extern char *LocaleCharSet; 6 extern char *LocaleCharSet;
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
12 #define JID_RESOURCE_SEPARATOR '/'
13 #define JID_RESOURCE_SEPARATORSTR "/"
14 #define JID_DOMAIN_SEPARATOR '@'
15 #define JID_DOMAIN_SEPARATORSTR "@"
11 16
12 void ut_InitDebug(int level, const char *file); 17 void ut_InitDebug(int level, const char *file);
13 void ut_WriteLog(unsigned int flag, const char *data); 18 void ut_WriteLog(unsigned int flag, const char *data);
14 19
15 int checkset_perm(const char *name, unsigned int setmode); 20 int checkset_perm(const char *name, unsigned int setmode);