From 63e8c7f9d095fe0b1e0b44f950230c0e238f166d Mon Sep 17 00:00:00 2001 From: nirav Date: Sun, 10 Mar 2019 23:45:19 +0530 Subject: Add config and log --- src/timeline.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/timeline.h') 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 -- cgit v1.2.3