25 lines
423 B
C
25 lines
423 B
C
|
|
struct stringtree
|
|
{
|
|
struct child
|
|
{
|
|
enum child_kind {
|
|
ck_cstr,
|
|
ck_string,
|
|
ck_stringtree,
|
|
} kind;
|
|
|
|
union {
|
|
const char* cstr;
|
|
|
|
struct string* string;
|
|
|
|
struct stringtree* stringtree;
|
|
};
|
|
|
|
struct child *prev, *next;
|
|
} *head, *tail;
|
|
|
|
unsigned refcount;
|
|
};
|
|
|