-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtl.h
31 lines (21 loc) · 801 Bytes
/
tl.h
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