aboutsummaryrefslogtreecommitdiff
path: root/tl.h
blob: a80d4b10677afaa01a02326bd10c3369e83baf0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef NEWBIETL_INCLUDED
#define NEWBIETL_INCLUDED


struct tl_list {
    const char     *name;
    const char     *data;
    struct tl_list *list;
    struct tl_list *next;
};

struct tl_list *tl_new(const char     *name,
                       const char     *data,
                       struct tl_list *list,
                       struct tl_list *next);

struct tl_list *tl_plain_list(struct tl_list *list, struct tl_list *next);

struct tl_list *tl_named_list(const char     *name,
                              struct tl_list *list,
                              struct tl_list *next);

struct tl_list *tl_named_data(const char     *name,
                              const char     *data,
                              struct tl_list *next);


void tl_translate(struct tl_list *l);


#endif