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