diff options
| author | 2025-03-29 01:27:46 +0100 | |
|---|---|---|
| committer | 2025-05-19 15:19:38 +0200 | |
| commit | 00fd1a1c3eb99c9e441276a7ce8697a1582152b7 (patch) | |
| tree | a0431b0db7e73508ea2c02190fd0dbe9af961601 /snac.h | |
| parent | Operations on the 'people' page redirects back to it instead of 'admin'. (diff) | |
| download | snac2-00fd1a1c3eb99c9e441276a7ce8697a1582152b7.tar.gz snac2-00fd1a1c3eb99c9e441276a7ce8697a1582152b7.tar.xz snac2-00fd1a1c3eb99c9e441276a7ce8697a1582152b7.zip | |
performance: functions to get the number of followers
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -153,6 +153,7 @@ int follower_add(snac *snac, const char *actor); | |||
| 153 | int follower_del(snac *snac, const char *actor); | 153 | int follower_del(snac *snac, const char *actor); |
| 154 | int follower_check(snac *snac, const char *actor); | 154 | int follower_check(snac *snac, const char *actor); |
| 155 | xs_list *follower_list(snac *snac); | 155 | xs_list *follower_list(snac *snac); |
| 156 | int follower_list_len(snac *snac); | ||
| 156 | 157 | ||
| 157 | int pending_add(snac *user, const char *actor, const xs_dict *msg); | 158 | int pending_add(snac *user, const char *actor, const xs_dict *msg); |
| 158 | int pending_check(snac *user, const char *actor); | 159 | int pending_check(snac *user, const char *actor); |
| @@ -184,6 +185,7 @@ int following_del(snac *snac, const char *actor); | |||
| 184 | int following_check(snac *snac, const char *actor); | 185 | int following_check(snac *snac, const char *actor); |
| 185 | int following_get(snac *snac, const char *actor, xs_dict **data); | 186 | int following_get(snac *snac, const char *actor, xs_dict **data); |
| 186 | xs_list *following_list(snac *snac); | 187 | xs_list *following_list(snac *snac); |
| 188 | int following_list_len(snac *snac); | ||
| 187 | 189 | ||
| 188 | void mute(snac *snac, const char *actor); | 190 | void mute(snac *snac, const char *actor); |
| 189 | void unmute(snac *snac, const char *actor); | 191 | void unmute(snac *snac, const char *actor); |