diff options
author | nirav <nirav@teisuu.com> | 2019-03-10 23:45:19 +0530 |
---|---|---|
committer | Dandelion <nirav@teisuu.com> | 2019-03-11 23:05:22 +0530 |
commit | 63e8c7f9d095fe0b1e0b44f950230c0e238f166d (patch) | |
tree | 01e0211f4fdede1eccda010fc944b3a0180a9632 /src/timeline.h | |
parent | 7e8ea36eb8106b4847af13a27a3e8f3177d25809 (diff) | |
download | ap_client-63e8c7f9d095fe0b1e0b44f950230c0e238f166d.tar.gz ap_client-63e8c7f9d095fe0b1e0b44f950230c0e238f166d.zip |
Add config and log
Diffstat (limited to 'src/timeline.h')
-rw-r--r-- | src/timeline.h | 6 |
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 |