Debian Codegraph @

libbfio/libbfio_codepage.h

raw symbols SCIP
1 /*
2 * Codepage functions
3 *
4 * Copyright (C) 2009-2024, Joachim Metz <[email protected]>
5 *
6 * Refer to AUTHORS for acknowledgements.
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU Lesser General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program. If not, see <https://www.gnu.org/licenses/>.
20 */
21
22 #if !defined( _LIBBFIO_INTERNAL_CODEPAGE_H )
23 #define _LIBBFIO_INTERNAL_CODEPAGE_H
24
25 #include <common.h>
26 #include <types.h>
27
28 #if defined( __cplusplus )
29 extern "C" {
30 #endif
31
32 /* Define HAVE_LOCAL_LIBBFIO for local use of libbfio
33 * The definitions in <libbfio/codepage.h> are copied here
34 * for local use of libbfio
35 */
36 #if !defined( HAVE_LOCAL_LIBBFIO )
37
38 #include <libbfio/codepage.h>
39
40 #else
41
42 /* The codepage definitions
43 */
44 enum LIBBFIO_CODEPAGES
45 {
46 LIBBFIO_CODEPAGE_ASCII = 20127,
47
48 LIBBFIO_CODEPAGE_ISO_8859_1 = 28591,
49 LIBBFIO_CODEPAGE_ISO_8859_2 = 28592,
50 LIBBFIO_CODEPAGE_ISO_8859_3 = 28593,
51 LIBBFIO_CODEPAGE_ISO_8859_4 = 28594,
52 LIBBFIO_CODEPAGE_ISO_8859_5 = 28595,
53 LIBBFIO_CODEPAGE_ISO_8859_6 = 28596,
54 LIBBFIO_CODEPAGE_ISO_8859_7 = 28597,
55 LIBBFIO_CODEPAGE_ISO_8859_8 = 28598,
56 LIBBFIO_CODEPAGE_ISO_8859_9 = 28599,
57 LIBBFIO_CODEPAGE_ISO_8859_10 = 28600,
58 LIBBFIO_CODEPAGE_ISO_8859_11 = 28601,
59 LIBBFIO_CODEPAGE_ISO_8859_13 = 28603,
60 LIBBFIO_CODEPAGE_ISO_8859_14 = 28604,
61 LIBBFIO_CODEPAGE_ISO_8859_15 = 28605,
62 LIBBFIO_CODEPAGE_ISO_8859_16 = 28606,
63
64 LIBBFIO_CODEPAGE_KOI8_R = 20866,
65 LIBBFIO_CODEPAGE_KOI8_U = 21866,
66
67 LIBBFIO_CODEPAGE_WINDOWS_874 = 874,
68 LIBBFIO_CODEPAGE_WINDOWS_932 = 932,
69 LIBBFIO_CODEPAGE_WINDOWS_936 = 936,
70 LIBBFIO_CODEPAGE_WINDOWS_949 = 949,
71 LIBBFIO_CODEPAGE_WINDOWS_950 = 950,
72 LIBBFIO_CODEPAGE_WINDOWS_1250 = 1250,
73 LIBBFIO_CODEPAGE_WINDOWS_1251 = 1251,
74 LIBBFIO_CODEPAGE_WINDOWS_1252 = 1252,
75 LIBBFIO_CODEPAGE_WINDOWS_1253 = 1253,
76 LIBBFIO_CODEPAGE_WINDOWS_1254 = 1254,
77 LIBBFIO_CODEPAGE_WINDOWS_1255 = 1255,
78 LIBBFIO_CODEPAGE_WINDOWS_1256 = 1256,
79 LIBBFIO_CODEPAGE_WINDOWS_1257 = 1257,
80 LIBBFIO_CODEPAGE_WINDOWS_1258 = 1258
81 };
82
83 #endif /* !defined( HAVE_LOCAL_LIBBFIO ) */
84
85 #if defined( __cplusplus )
86 }
87 #endif
88
89 #endif /* !defined( _LIBBFIO_INTERNAL_CODEPAGE_H ) */
90