diff options
| author | default <nobody@localhost> | 2025-01-27 16:59:08 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-01-27 16:59:08 +0100 |
| commit | 82bcc4b465f73a5d1f2eebcf3813452bc1c37fbd (patch) | |
| tree | 004884de626c698c92debbe7727c3788ff880ad2 /snac.h | |
| parent | 6097ba55cf96444aac7fb9b74295722e8e5c3810 (diff) | |
Minor optimization in timeline retrieving.
Functions now receive an optional int *more, set to 1 if
there are more than the 'show' requested.
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -157,8 +157,8 @@ int timeline_here(snac *snac, const char *md5); int timeline_get_by_md5(snac *snac, const char *md5, xs_dict **msg); int timeline_del(snac *snac, const char *id); xs_str *user_index_fn(snac *user, const char *idx_name); -xs_list *timeline_simple_list(snac *user, const char *idx_name, int skip, int show); -xs_list *timeline_list(snac *snac, const char *idx_name, int skip, int show); +xs_list *timeline_simple_list(snac *user, const char *idx_name, int skip, int show, int *more); +xs_list *timeline_list(snac *snac, const char *idx_name, int skip, int show, int *more); int timeline_add(snac *snac, const char *id, const xs_dict *o_msg); int timeline_admire(snac *snac, const char *id, const char *admirer, int like); |