summaryrefslogtreecommitdiff
path: root/attache/str_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'attache/str_utils.h')
-rw-r--r--attache/str_utils.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/attache/str_utils.h b/attache/str_utils.h
new file mode 100644
index 0000000..efa43a5
--- /dev/null
+++ b/attache/str_utils.h
@@ -0,0 +1,23 @@
+#ifndef _STR_UTILS_INC
+#define _STR_UTILS_INC
+
+void set_codepage();
+
+wchar_t *a2w(const char *as);
+char *w2a(const wchar_t *ws);
+
+char *w2u(const wchar_t *ws);
+wchar_t *u2w(const char *ws);
+
+TCHAR *u2t(const char *utfs);
+char *t2u(const TCHAR *ts);
+
+char *t2a(const TCHAR *ts);
+TCHAR *a2t(const char *as);
+
+char *u2a(const char *utfs);
+char *a2u(const char *as);
+
+
+#endif
+