From 1a27e67ed9e4c4b12d9ee4d151c7647043b54647 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 13 Apr 2023 17:34:48 +0200 Subject: New functions notify_get() and notify_list(). --- snac.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'snac.h') diff --git a/snac.h b/snac.h index e201801..f1fe13f 100644 --- a/snac.h +++ b/snac.h @@ -140,6 +140,8 @@ void lastlog_write(snac *snac); xs_str *notify_check_time(snac *snac, int reset); void notify_add(snac *snac, const char *type, const char *utype, const char *actor, const char *objid); +xs_dict *notify_get(snac *snac, const char *id); +xs_list *notify_list(snac *snac, int new_only); void inbox_add(const char *inbox); void inbox_add_by_actor(const xs_dict *actor); -- cgit v1.2.3