diff options
| author | 2023-04-13 16:59:17 +0200 | |
|---|---|---|
| committer | 2023-04-13 16:59:17 +0200 | |
| commit | bcde97c2d53f9c94c6ced2717945affa4ede554c (patch) | |
| tree | e57442ff4bd0f2bc25ae516241ca5bcdaa0c3878 /snac.h | |
| parent | Started working on a notification list. (diff) | |
| download | snac2-bcde97c2d53f9c94c6ced2717945affa4ede554c.tar.gz snac2-bcde97c2d53f9c94c6ced2717945affa4ede554c.tar.xz snac2-bcde97c2d53f9c94c6ced2717945affa4ede554c.zip | |
New function notify_add().
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -1,7 +1,7 @@ | |||
| 1 | /* snac - A simple, minimalistic ActivityPub instance */ | 1 | /* snac - A simple, minimalistic ActivityPub instance */ |
| 2 | /* copyright (c) 2022 - 2023 grunfink / MIT license */ | 2 | /* copyright (c) 2022 - 2023 grunfink / MIT license */ |
| 3 | 3 | ||
| 4 | #define VERSION "2.27" | 4 | #define VERSION "2.28-dev" |
| 5 | 5 | ||
| 6 | #define USER_AGENT "snac/" VERSION | 6 | #define USER_AGENT "snac/" VERSION |
| 7 | 7 | ||
| @@ -137,6 +137,9 @@ d_char *history_list(snac *snac); | |||
| 137 | 137 | ||
| 138 | void lastlog_write(snac *snac); | 138 | void lastlog_write(snac *snac); |
| 139 | 139 | ||
| 140 | void notify_add(snac *snac, const char *type, const char *utype, | ||
| 141 | const char *actor, const char *objid); | ||
| 142 | |||
| 140 | void inbox_add(const char *inbox); | 143 | void inbox_add(const char *inbox); |
| 141 | void inbox_add_by_actor(const xs_dict *actor); | 144 | void inbox_add_by_actor(const xs_dict *actor); |
| 142 | xs_list *inbox_list(void); | 145 | xs_list *inbox_list(void); |