8e21f86812
X-SVN-Rev: 472
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/*
|
|
*******************************************************************************
|
|
*
|
|
* Copyright (C) 1998-1999, International Business Machines
|
|
* Corporation and others. All Rights Reserved.
|
|
*
|
|
*******************************************************************************
|
|
*
|
|
* File rbread.h
|
|
*
|
|
* Modification History:
|
|
*
|
|
* Date Name Description
|
|
* 06/14/99 stephen Creation.
|
|
*******************************************************************************
|
|
*/
|
|
|
|
#ifndef RBREAD_H
|
|
#define RBREAD_H 1
|
|
|
|
#include "unicode/utypes.h"
|
|
#include "filestrm.h"
|
|
#include "uhash.h"
|
|
#include "unicode/unistr.h"
|
|
|
|
/* Byte order mark for compiled resource bundle files */
|
|
static const int32_t sBOM = 0x021C;
|
|
|
|
/* Type of resource indicators */
|
|
static const int32_t sSTRINGLIST = 1;
|
|
static const int32_t sSTRINGLIST2D = 2;
|
|
static const int32_t sTAGGEDLIST = 3;
|
|
|
|
/* EOF indicator */
|
|
static const int32_t sEOF = -1;
|
|
|
|
/* Parse a compiled resource bundle into a hashtable and locale name */
|
|
UHashtable* rb_parse(FileStream *f,
|
|
UnicodeString& localename,
|
|
UErrorCode& status);
|
|
|
|
#endif /* ! RBREAD_H */
|