Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* |
michael@0 | 2 | ******************************************************************************* |
michael@0 | 3 | * |
michael@0 | 4 | * Copyright (C) 2005, International Business Machines |
michael@0 | 5 | * Corporation and others. All Rights Reserved. |
michael@0 | 6 | * |
michael@0 | 7 | ******************************************************************************* |
michael@0 | 8 | * file name: pkg_imp.h |
michael@0 | 9 | * encoding: US-ASCII |
michael@0 | 10 | * tab size: 8 (not used) |
michael@0 | 11 | * indentation:4 |
michael@0 | 12 | * |
michael@0 | 13 | * created on: 2005sep18 |
michael@0 | 14 | * created by: Markus W. Scherer |
michael@0 | 15 | * |
michael@0 | 16 | * Implementation definitions for data package functions in toolutil. |
michael@0 | 17 | */ |
michael@0 | 18 | |
michael@0 | 19 | #ifndef __PKG_IMP_H__ |
michael@0 | 20 | #define __PKG_IMP_H__ |
michael@0 | 21 | |
michael@0 | 22 | #include "unicode/utypes.h" |
michael@0 | 23 | |
michael@0 | 24 | /* |
michael@0 | 25 | * Read an ICU data item with any platform type, |
michael@0 | 26 | * return the pointer to the UDataInfo in its header, |
michael@0 | 27 | * and set the lengths of the UDataInfo and of the whole header. |
michael@0 | 28 | * All data remains in its platform type. |
michael@0 | 29 | */ |
michael@0 | 30 | U_CFUNC const UDataInfo * |
michael@0 | 31 | getDataInfo(const uint8_t *data, int32_t length, |
michael@0 | 32 | int32_t &infoLength, int32_t &headerLength, |
michael@0 | 33 | UErrorCode *pErrorCode); |
michael@0 | 34 | |
michael@0 | 35 | #endif |