summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar default2022-09-20 10:49:24 +0200
committerGravatar default2022-09-20 10:49:24 +0200
commit9a01f731d76f5b14f98ecf022a7961e24a3360b9 (patch)
tree2be140104d36a764dea594c8351d1fade68c5234 /main.c
parentAdded some timeline functions. (diff)
downloadsnac2-9a01f731d76f5b14f98ecf022a7961e24a3360b9.tar.gz
snac2-9a01f731d76f5b14f98ecf022a7961e24a3360b9.tar.xz
snac2-9a01f731d76f5b14f98ecf022a7961e24a3360b9.zip
More timeline work.
Diffstat (limited to 'main.c')
-rw-r--r--main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/main.c b/main.c
index f6fc5e2..4a9690b 100644
--- a/main.c
+++ b/main.c
@@ -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