diff options
| author | Aleksey Veresov <aleksey@veresov.pro> | 2020-08-28 09:07:08 +0300 | 
|---|---|---|
| committer | Aleksey Veresov <aleksey@veresov.pro> | 2020-08-28 09:07:08 +0300 | 
| commit | 749cdb81da654efad8e8b54c772f4c92b7330ed7 (patch) | |
| tree | 67bb943511c325408431ab7ce27caeb85f096844 /tl.h | |
| parent | 0ffd577cd6ee67d7e3f4af9b1102e9ac1af78925 (diff) | |
| download | tela-749cdb81da654efad8e8b54c772f4c92b7330ed7.tar tela-749cdb81da654efad8e8b54c772f4c92b7330ed7.tar.xz tela-749cdb81da654efad8e8b54c772f4c92b7330ed7.zip | |
Refactored.
Diffstat (limited to 'tl.h')
| -rw-r--r-- | tl.h | 31 | 
1 files changed, 31 insertions, 0 deletions
| @@ -0,0 +1,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 | 
