mcabber/src/utils.h
changeset 469 a926523d2392
parent 452 dfd9c62b3a39
child 524 05c0e55c4bb1
equal deleted inserted replaced
468:644b8bf9ca4d 469:a926523d2392
     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);