|
1 /* |
|
2 ******************************************************************************* |
|
3 * |
|
4 * Copyright (C) 2003, International Business Machines |
|
5 * Corporation and others. All Rights Reserved. |
|
6 * |
|
7 ******************************************************************************* |
|
8 * file name: ucol_swp.h |
|
9 * encoding: US-ASCII |
|
10 * tab size: 8 (not used) |
|
11 * indentation:4 |
|
12 * |
|
13 * created on: 2003sep10 |
|
14 * created by: Markus W. Scherer |
|
15 * |
|
16 * Swap collation binaries. |
|
17 */ |
|
18 |
|
19 #ifndef __UCOL_SWP_H__ |
|
20 #define __UCOL_SWP_H__ |
|
21 |
|
22 #include "unicode/utypes.h" |
|
23 |
|
24 #if !UCONFIG_NO_COLLATION |
|
25 |
|
26 #include "udataswp.h" |
|
27 |
|
28 /** |
|
29 * Swap a header-less collation binary, inside a resource bundle or ucadata.icu. |
|
30 * See udataswp.h. |
|
31 * @internal |
|
32 */ |
|
33 U_CAPI int32_t U_EXPORT2 |
|
34 ucol_swapBinary(const UDataSwapper *ds, |
|
35 const void *inData, int32_t length, void *outData, |
|
36 UErrorCode *pErrorCode); |
|
37 |
|
38 /** |
|
39 * Swap ICU collation data like ucadata.icu. See udataswp.h. |
|
40 * @internal |
|
41 */ |
|
42 U_CAPI int32_t U_EXPORT2 |
|
43 ucol_swap(const UDataSwapper *ds, |
|
44 const void *inData, int32_t length, void *outData, |
|
45 UErrorCode *pErrorCode); |
|
46 |
|
47 /** |
|
48 * Swap inverse UCA collation data (invuca.icu). See udataswp.h. |
|
49 * @internal |
|
50 */ |
|
51 U_CAPI int32_t U_EXPORT2 |
|
52 ucol_swapInverseUCA(const UDataSwapper *ds, |
|
53 const void *inData, int32_t length, void *outData, |
|
54 UErrorCode *pErrorCode); |
|
55 |
|
56 #endif /* #if !UCONFIG_NO_COLLATION */ |
|
57 |
|
58 #endif |