diff options
| author | Ruben Beltran del Rio <rbdr@bravo-i.local> | 2026-04-15 16:59:19 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <rbdr@bravo-i.local> | 2026-04-15 16:59:19 +0200 |
| commit | 6fc748933ad263ba0e8c78eb9ae1e085a2b0dfb2 (patch) | |
| tree | e82d7cf345ed9c0e4b40e6156c509eb48aef13ee /snac.h | |
| parent | 5e1dbb58904ad39f20cd8e90c5d8dded2a6ca2ad (diff) | |
Add neighborhood featuremaster
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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); |