sl@0: /* sl@0: ******************************************************************************* sl@0: * sl@0: * Copyright (C) 2003, International Business Machines sl@0: * Corporation and others. All Rights Reserved. sl@0: * sl@0: ******************************************************************************* sl@0: * file name: ucol_swp.h sl@0: * encoding: US-ASCII sl@0: * tab size: 8 (not used) sl@0: * indentation:4 sl@0: * sl@0: * created on: 2003sep10 sl@0: * created by: Markus W. Scherer sl@0: * sl@0: * Swap collation binaries. sl@0: */ sl@0: sl@0: #ifndef __UCOL_SWP_H__ sl@0: #define __UCOL_SWP_H__ sl@0: sl@0: #include "unicode/utypes.h" sl@0: sl@0: #if !UCONFIG_NO_COLLATION sl@0: sl@0: #include "udataswp.h" sl@0: sl@0: /** sl@0: * Swap a header-less collation binary, inside a resource bundle or ucadata.icu. sl@0: * See udataswp.h. sl@0: * @internal sl@0: */ sl@0: U_CAPI int32_t U_EXPORT2 sl@0: ucol_swapBinary(const UDataSwapper *ds, sl@0: const void *inData, int32_t length, void *outData, sl@0: UErrorCode *pErrorCode); sl@0: sl@0: /** sl@0: * Swap ICU collation data like ucadata.icu. See udataswp.h. sl@0: * @internal sl@0: */ sl@0: U_CAPI int32_t U_EXPORT2 sl@0: ucol_swap(const UDataSwapper *ds, sl@0: const void *inData, int32_t length, void *outData, sl@0: UErrorCode *pErrorCode); sl@0: sl@0: /** sl@0: * Swap inverse UCA collation data (invuca.icu). See udataswp.h. sl@0: * @internal sl@0: */ sl@0: U_CAPI int32_t U_EXPORT2 sl@0: ucol_swapInverseUCA(const UDataSwapper *ds, sl@0: const void *inData, int32_t length, void *outData, sl@0: UErrorCode *pErrorCode); sl@0: sl@0: #endif /* #if !UCONFIG_NO_COLLATION */ sl@0: sl@0: #endif