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