summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-20 12:43:49 +0200
committerdefault <nobody@localhost>2022-09-20 12:43:49 +0200
commite923a4f5ec586d9dcec90e585b8d50cfbeafb8a1 (patch)
treefee0e977c9e74eedf29b37b962814619e3a0f32a /main.c
parent5d843a488ec349d94e22314e90a73885ebfce007 (diff)
New function queue().
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 4f77c0d..dd072e2 100644
--- a/main.c
+++ b/main.c
@@ -16,6 +16,17 @@ int main(int argc, char *argv[])
user_open(&snac, "mike");
{
+ xs *list = queue(&snac);
+ char *p, *fn;
+
+ p = list;
+ while (xs_list_iter(&p, &fn)) {
+ printf("%s\n", fn);
+ }
+ }
+
+#if 0
+ {
xs *list = follower_list(&snac);
char *p, *obj;
@@ -50,6 +61,7 @@ int main(int argc, char *argv[])
}
}
}
+#endif
return 0;
}