scuffed-code/icu4c/source/common/rbread.h

43 lines
1.1 KiB
C
Raw Normal View History

1999-08-16 21:50:52 +00:00
/*
*******************************************************************************
*
* Copyright (C) 1998-1999, International Business Machines
* Corporation and others. All Rights Reserved.
*
1999-08-16 21:50:52 +00:00
*******************************************************************************
*
* 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 */