diff options
author | default <nobody@localhost> | 2022-09-30 09:56:29 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-30 09:56:29 +0200 |
commit | 3d544233a63a2105d8d91e7fd4f62f7703fef6e0 (patch) | |
tree | 021cca6da8ae40a6fbc3e8fb73499f0f9777044b /snac.h | |
parent | 41767992960f4a60a34b212d9ae3d25e9ca2a3f8 (diff) |
Timeline is cached.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -60,6 +60,7 @@ int follower_del(snac *snac, char *actor); int follower_check(snac *snac, char *actor); d_char *follower_list(snac *snac); +float timeline_mtime(snac *snac); int timeline_here(snac *snac, char *id); d_char *_timeline_find_fn(snac *snac, char *id); d_char *timeline_find(snac *snac, char *id); @@ -84,6 +85,10 @@ int actor_get(snac *snac, char *actor, d_char **data); int static_get(snac *snac, char *id, d_char **data, int *size); +float history_mtime(snac *snac, char *id); +void history_add(snac *snac, char *id, char *content, int size); +d_char *history_get(snac *snac, char *id); + void enqueue_input(snac *snac, char *msg, char *req, int retries); void enqueue_output(snac *snac, char *msg, char *actor, int retries); |