intl/icu/source/tools/toolutil/pkg_imp.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/tools/toolutil/pkg_imp.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +/*
     1.5 +*******************************************************************************
     1.6 +*
     1.7 +*   Copyright (C) 2005, International Business Machines
     1.8 +*   Corporation and others.  All Rights Reserved.
     1.9 +*
    1.10 +*******************************************************************************
    1.11 +*   file name:  pkg_imp.h
    1.12 +*   encoding:   US-ASCII
    1.13 +*   tab size:   8 (not used)
    1.14 +*   indentation:4
    1.15 +*
    1.16 +*   created on: 2005sep18
    1.17 +*   created by: Markus W. Scherer
    1.18 +*
    1.19 +*   Implementation definitions for data package functions in toolutil.
    1.20 +*/
    1.21 +
    1.22 +#ifndef __PKG_IMP_H__
    1.23 +#define __PKG_IMP_H__
    1.24 +
    1.25 +#include "unicode/utypes.h"
    1.26 +
    1.27 +/*
    1.28 + * Read an ICU data item with any platform type,
    1.29 + * return the pointer to the UDataInfo in its header,
    1.30 + * and set the lengths of the UDataInfo and of the whole header.
    1.31 + * All data remains in its platform type.
    1.32 + */
    1.33 +U_CFUNC const UDataInfo *
    1.34 +getDataInfo(const uint8_t *data, int32_t length,
    1.35 +            int32_t &infoLength, int32_t &headerLength,
    1.36 +            UErrorCode *pErrorCode);
    1.37 +
    1.38 +#endif

mercurial