From 6fc748933ad263ba0e8c78eb9ae1e085a2b0dfb2 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 15 Apr 2026 16:59:19 +0200 Subject: Add neighborhood feature --- snac.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'snac.h') diff --git a/snac.h b/snac.h index 9f6e534..96b083d 100644 --- a/snac.h +++ b/snac.h @@ -200,6 +200,16 @@ xs_list *local_list(snac *snac, int max); xs_str *instance_index_fn(void); xs_list *timeline_instance_list(int skip, int show); +/* BEGIN neighborhood */ +xs_str *neighborhood_index_fn(void); +int neighborhood_contains_actor(const char *actor); +void neighborhood_update_indexes(const char *id, const xs_dict *msg); +xs_list *timeline_neighborhood_list(int skip, int show); + +int index_in(const char *fn, const char *id); +int index_in_md5(const char *fn, const char *md5); +/* END neighborhood */ + int following_add(snac *snac, const char *actor, const xs_dict *msg); int following_del(snac *snac, const char *actor); int following_check(snac *snac, const char *actor); -- cgit