scuffed-code/icu4c/source/tools/genrb/rblist.h
George Rhoten 7777030a4f ICU-1828 Remove tabs
X-SVN-Rev: 8331
2002-04-02 02:55:31 +00:00

55 lines
1.3 KiB
C

/*
*******************************************************************************
*
* Copyright (C) 1998-2000, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
*
* File rblist.h
*
* Modification History:
*
* Date Name Description
* 06/01/99 stephen Creation.
*******************************************************************************
*/
#ifndef RBLIST_H
#define RBLIST_H 1
#include "unicode/utypes.h"
#include "list.h"
/* A resource bundle data item */
struct SRBItem {
char *fTag;
int16_t fStrKey;
struct SList *fData;
struct SRBItem *fNext;
};
/* A list of RBItems */
struct SRBItemList {
UChar *fLocale;
char *fKeys;
int16_t fKeyPoint;
int32_t fCount;
int32_t fCapacity;
struct SRBItem *fFirst;
};
struct SRBItemList* rblist_open(UErrorCode *status);
struct SRBItem* make_rbitem(const UChar *tag, const struct SList *data,
UErrorCode *status);
void rblist_close(struct SRBItemList *list, UErrorCode *status);
void rblist_setlocale(struct SRBItemList *list, const UChar *locale,
UErrorCode *status);
void rblist_add(struct SRBItemList *list, struct SRBItem *s,
UErrorCode *status);
#endif