]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/toolutil/pkg_imp.h
ICU-57166.0.1.tar.gz
[apple/icu.git] / icuSources / tools / toolutil / pkg_imp.h
CommitLineData
73c04bcf
A
1/*
2*******************************************************************************
3*
2ca993e8 4* Copyright (C) 2005-2016, International Business Machines
73c04bcf
A
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"
2ca993e8 23#include "unicode/udata.h"
73c04bcf
A
24
25/*
26 * Read an ICU data item with any platform type,
27 * return the pointer to the UDataInfo in its header,
28 * and set the lengths of the UDataInfo and of the whole header.
29 * All data remains in its platform type.
30 */
31U_CFUNC const UDataInfo *
32getDataInfo(const uint8_t *data, int32_t length,
33 int32_t &infoLength, int32_t &headerLength,
34 UErrorCode *pErrorCode);
35
36#endif