]> git.saurik.com Git - apple/icu.git/blob - icuSources/tools/toolutil/pkg_imp.h
ICU-400.42.tar.gz
[apple/icu.git] / icuSources / tools / toolutil / pkg_imp.h
1 /*
2 *******************************************************************************
3 *
4 * Copyright (C) 2005, International Business Machines
5 * Corporation and others. All Rights Reserved.
6 *
7 *******************************************************************************
8 * file name: pkg_imp.h
9 * encoding: US-ASCII
10 * tab size: 8 (not used)
11 * indentation:4
12 *
13 * created on: 2005sep18
14 * created by: Markus W. Scherer
15 *
16 * Implementation definitions for data package functions in toolutil.
17 */
18
19 #ifndef __PKG_IMP_H__
20 #define __PKG_IMP_H__
21
22 #include "unicode/utypes.h"
23
24 /*
25 * Read an ICU data item with any platform type,
26 * return the pointer to the UDataInfo in its header,
27 * and set the lengths of the UDataInfo and of the whole header.
28 * All data remains in its platform type.
29 */
30 U_CFUNC const UDataInfo *
31 getDataInfo(const uint8_t *data, int32_t length,
32 int32_t &infoLength, int32_t &headerLength,
33 UErrorCode *pErrorCode);
34
35 #endif