2
*******************************************************************************
4
* Copyright (C) 1998-2000, International Business Machines
5
* Corporation and others. All Rights Reserved.
7
*******************************************************************************
11
* Modification History:
13
* Date Name Description
14
* 06/01/99 stephen Creation.
15
*******************************************************************************
21
#include "unicode/utypes.h"
30
struct SList* strlist_open(UErrorCode *status);
31
void strlist_close(struct SList *list, UErrorCode *status);
32
void strlist_add(struct SList *list, const UChar *s, UErrorCode *status);
34
/* A two-dimensional string list */
35
struct SStringList2d {
45
struct SList* strlist2d_open(UErrorCode *status);
46
void strlist2d_close(struct SList *list, UErrorCode *status);
47
void strlist2d_newRow(struct SList *list, UErrorCode *status);
48
void strlist2d_add(struct SList *list, const UChar *s, UErrorCode *status);
50
/* A name/value pair for a tagged list */
54
struct SStringPair *fNext;
59
struct SStringPair *fFirst;
60
/*struct SStringPair *fData;*/
62
/*int32_t fCapacity;*/
65
struct SList* taglist_open(UErrorCode *status);
66
void taglist_close(struct SList *list, UErrorCode *status);
67
void taglist_add(struct SList *list, const UChar *tag,
68
const UChar *data, UErrorCode *status);
69
const UChar* taglist_get(const struct SList *list, const char *tag,
80
/* A generic list container */
82
enum EListType fType; /* type of element in union */
85
struct SStringList fStringList;
86
struct SStringList2d fStringList2d;
87
struct STaggedList fTaggedList;