OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * | 3 * |
4 * Copyright (C) 1998-2010, International Business Machines | 4 * Copyright (C) 1998-2014, International Business Machines |
5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
6 * | 6 * |
7 ******************************************************************************* | 7 ******************************************************************************* |
8 * | 8 * |
9 * File ufile.h | 9 * File ufile.h |
10 * | 10 * |
11 * Modification History: | 11 * Modification History: |
12 * | 12 * |
13 * Date Name Description | 13 * Date Name Description |
14 * 12/01/98 stephen Creation. | 14 * 12/01/98 stephen Creation. |
15 * 03/12/99 stephen Modified for new C API. | 15 * 03/12/99 stephen Modified for new C API. |
16 ******************************************************************************* | 16 ******************************************************************************* |
17 */ | 17 */ |
18 | 18 |
19 #ifndef UFILE_H | 19 #ifndef UFILE_H |
20 #define UFILE_H | 20 #define UFILE_H |
21 | 21 |
22 #include "unicode/utypes.h" | 22 #include "unicode/utypes.h" |
| 23 |
| 24 #if !UCONFIG_NO_CONVERSION |
| 25 |
23 #include "unicode/ucnv.h" | 26 #include "unicode/ucnv.h" |
24 #include "unicode/utrans.h" | 27 #include "unicode/utrans.h" |
25 #include "locbund.h" | 28 #include "locbund.h" |
26 | 29 |
27 /* The buffer size for fromUnicode calls */ | 30 /* The buffer size for fromUnicode calls */ |
28 #define UFILE_CHARBUFFER_SIZE 1024 | 31 #define UFILE_CHARBUFFER_SIZE 1024 |
29 | 32 |
30 /* The buffer size for toUnicode calls */ | 33 /* The buffer size for toUnicode calls */ |
31 #define UFILE_UCHARBUFFER_SIZE 1024 | 34 #define UFILE_UCHARBUFFER_SIZE 1024 |
32 | 35 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 126 |
124 /** | 127 /** |
125 * Flush the IO buffer | 128 * Flush the IO buffer |
126 * @param f UFile to flush | 129 * @param f UFile to flush |
127 */ | 130 */ |
128 void | 131 void |
129 ufile_flush_io(UFILE *f); | 132 ufile_flush_io(UFILE *f); |
130 | 133 |
131 | 134 |
132 #endif | 135 #endif |
| 136 #endif |
OLD | NEW |