diff options
| author | 2024-12-19 19:55:56 +0000 | |
|---|---|---|
| committer | 2024-12-20 00:18:32 +0000 | |
| commit | fa253f008a0f4d028dbb9ef14c83d6699a133614 (patch) | |
| tree | 1a5f52d469327385bfc7890de5926768801ef6ed /snac.h | |
| parent | Updated documentation. (diff) | |
| download | penes-snac2-fa253f008a0f4d028dbb9ef14c83d6699a133614.tar.gz penes-snac2-fa253f008a0f4d028dbb9ef14c83d6699a133614.tar.xz penes-snac2-fa253f008a0f4d028dbb9ef14c83d6699a133614.zip | |
Implement mastoapi markers for notifications and home.
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -236,6 +236,9 @@ int notify_new_num(snac *snac); | |||
| 236 | xs_list *notify_list(snac *snac, int skip, int show); | 236 | xs_list *notify_list(snac *snac, int skip, int show); |
| 237 | void notify_clear(snac *snac); | 237 | void notify_clear(snac *snac); |
| 238 | 238 | ||
| 239 | xs_dict *markers_get(snac *snac, const xs_list *markers); | ||
| 240 | xs_dict *markers_set(snac *snac, const char *home_marker, const char *notify_marker); | ||
| 241 | |||
| 239 | void inbox_add(const char *inbox); | 242 | void inbox_add(const char *inbox); |
| 240 | void inbox_add_by_actor(const xs_dict *actor); | 243 | void inbox_add_by_actor(const xs_dict *actor); |
| 241 | xs_list *inbox_list(void); | 244 | xs_list *inbox_list(void); |