summaryrefslogtreecommitdiff
path: root/src/timeline.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeline.h')
-rw-r--r--src/timeline.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timeline.h b/src/timeline.h
index f31f618..ea72e5c 100644
--- a/src/timeline.h
+++ b/src/timeline.h
@@ -8,9 +8,9 @@ struct timeline {
size_t size;
};
-struct timeline *timeline_from_json(char *);
+struct timeline *timeline_from_json(const char *);
void timeline_free(struct timeline *);
-int lod_timeline(const char *max_id, const char *since_id, const char *min_id,
- int limit);
+int get_timeline(const char *max_id, const char *since_id, const char *min_id,
+ int limit, void (*callback)(bool success, struct timeline *t));
#endif