summaryrefslogtreecommitdiff
path: root/support/dktools/dk4rec.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/dktools/dk4rec.h
Initial commit
Diffstat (limited to 'support/dktools/dk4rec.h')
-rw-r--r--support/dktools/dk4rec.h113
1 files changed, 113 insertions, 0 deletions
diff --git a/support/dktools/dk4rec.h b/support/dktools/dk4rec.h
new file mode 100644
index 0000000000..6a34458ba1
--- /dev/null
+++ b/support/dktools/dk4rec.h
@@ -0,0 +1,113 @@
+#ifndef DK4REC_H_INCLUDED
+#define DK4REC_H_INCLUDED 1
+
+/** @file dk4rec.h String conversion between various encodings.
+ - ASCII to ANSI: dk4recode_ascii_to_ansi()
+ - ANSI to ASCII: dk4recode_ansi_to_ascii()
+ - ASCII to UTF-8: dk4recode_ascii_to_utf8()
+ - UTF-8 to ASCII: dk4recode_utf8_to_ascii()
+ - ANSI to UTF-8: dk4recode_ansi_to_utf8()
+ - UTF-8 to ANSI: dk4recode_utf8_to_ansi()
+ - ASCII to UTF-16: dk4recode_ascii_to_utf16()
+ - UTF-16 to ASCII: dk4recode_utf16_to_ascii()
+ - ANSI to UTF-16: dk4recode_ansi_to_utf16()
+ - UTF-16 to ANSI: dk4recode_utf16_to_ansi()
+ - UTF-8 to UTF-16: dk4recode_utf8_to_utf16()
+ - UTF-16 to UTF-8: dk4recode_utf16_to_utf8()
+ - ASCII to 32 bit: dk4recode_ascii_to_c32()
+ - 32 bit to ASCII: dk4recode_c32_to_ascii()
+ - ANSI to 32 bit: dk4recode_ansi_to_c32()
+ - 32 bit to ANSI: dk4recode_c32_to_ansi()
+ - UTF-8 to 32 bit: dk4recode_utf8_to_c32()
+ - 32 bit to UTF-8: dk4recode_c32_to_utf8()
+ - UTF-16 to 32 bit: dk4recode_utf16_to_c32()
+ - 32 bit to UTF-16: dk4recode_c32_to_utf16()
+ - ASCII to dkChar: dk4recode_ascii_to_dk()
+ - char to dkChar (simple conversion, 0x00 to 0x7F only):
+ dk4recode_char_to_dk()
+ - char to wchar_t (simple conversion, 0x00 to 0x7F only):
+ dk4recode_char_to_wchar_t()
+ - wchar_t to char (simple conversion, 0x00 to 0x7F only):
+ dk4recode_wchar_t_to_char()
+ - dkChar to ASCII, ANSI, UTF-8, UTF_16, 32 bit:
+ dk4recode_dk_to_any()
+*/
+
+#ifndef DK4REC01_H_INCLUDED
+#include "dk4rec01.h"
+#endif
+#ifndef DK4REC02_H_INCLUDED
+#include "dk4rec02.h"
+#endif
+#ifndef DK4REC03_H_INCLUDED
+#include "dk4rec03.h"
+#endif
+#ifndef DK4REC04_H_INCLUDED
+#include "dk4rec04.h"
+#endif
+#ifndef DK4REC05_H_INCLUDED
+#include "dk4rec05.h"
+#endif
+#ifndef DK4REC06_H_INCLUDED
+#include "dk4rec06.h"
+#endif
+#ifndef DK4REC07_H_INCLUDED
+#include "dk4rec07.h"
+#endif
+#ifndef DK4REC08_H_INCLUDED
+#include "dk4rec08.h"
+#endif
+#ifndef DK4REC09_H_INCLUDED
+#include "dk4rec09.h"
+#endif
+#ifndef DK4REC10_H_INCLUDED
+#include "dk4rec10.h"
+#endif
+#ifndef DK4REC11_H_INCLUDED
+#include "dk4rec11.h"
+#endif
+#ifndef DK4REC12_H_INCLUDED
+#include "dk4rec12.h"
+#endif
+#ifndef DK4REC13_H_INCLUDED
+#include "dk4rec13.h"
+#endif
+#ifndef DK4REC14_H_INCLUDED
+#include "dk4rec14.h"
+#endif
+#ifndef DK4REC15_H_INCLUDED
+#include "dk4rec15.h"
+#endif
+#ifndef DK4REC16_H_INCLUDED
+#include "dk4rec16.h"
+#endif
+#ifndef DK4REC17_H_INCLUDED
+#include "dk4rec17.h"
+#endif
+#ifndef DK4REC18_H_INCLUDED
+#include "dk4rec18.h"
+#endif
+#ifndef DK4REC19_H_INCLUDED
+#include "dk4rec19.h"
+#endif
+#ifndef DK4REC20_H_INCLUDED
+#include "dk4rec20.h"
+#endif
+#ifndef DK4REC21_H_INCLUDED
+#include "dk4rec21.h"
+#endif
+#ifndef DK4REC22_H_INCLUDED
+#include "dk4rec22.h"
+#endif
+#ifndef DK4REC23_H_INCLUDED
+#include "dk4rec23.h"
+#endif
+#ifndef DK4REC24_H_INCLUDED
+#include "dk4rec24.h"
+#endif
+#ifndef DK4REC25_H_INCLUDED
+#include "dk4rec25.h"
+#endif
+
+#endif
+