equal
deleted
inserted
replaced
1 #ifndef __UTILS_H__ |
1 #ifndef __UTILS_H__ |
2 #define __UTILS_H__ 1 |
2 #define __UTILS_H__ 1 |
|
3 |
|
4 #define to_utf8(s) ((s) ? g_locale_to_utf8((s), -1, NULL,NULL,NULL) : NULL) |
|
5 #define from_utf8(s) ((s) ? g_locale_from_utf8((s), -1, NULL,NULL,NULL) : NULL) |
3 |
6 |
4 void ut_InitDebug(unsigned int level, const char *file); |
7 void ut_InitDebug(unsigned int level, const char *file); |
5 void ut_WriteLog(unsigned int flag, const char *data); |
8 void ut_WriteLog(unsigned int flag, const char *data); |
6 |
9 |
7 int checkset_perm(const char *name, unsigned int setmode); |
10 int checkset_perm(const char *name, unsigned int setmode); |