scuffed-code/icu4c/source/common/rbread.h
Markus Scherer f452a84c52 ICU-161 change copyright for open source
X-SVN-Rev: 393
1999-12-13 22:28:37 +00:00

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 "utypes.h"
#include "filestrm.h"
#include "uhash.h"
#include "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 */