diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -27,6 +27,18 @@ int main(int argc, char *argv[]) | |||
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | { | 29 | { |
| 30 | xs *list = timeline_list(&snac); | ||
| 31 | char *p, *fn; | ||
| 32 | |||
| 33 | p = list; | ||
| 34 | while (xs_list_iter(&p, &fn)) { | ||
| 35 | xs *tle = timeline_get(&snac, fn); | ||
| 36 | |||
| 37 | printf("%s\n", xs_dict_get(tle, "id")); | ||
| 38 | } | ||
| 39 | } | ||
| 40 | |||
| 41 | { | ||
| 30 | xs *list = user_list(); | 42 | xs *list = user_list(); |
| 31 | char *p, *uid; | 43 | char *p, *uid; |
| 32 | 44 | ||