summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authorLouis Brauer <louis@openbooking.ch>2024-05-31 00:30:37 +0200
committerLouis Brauer <louis@openbooking.ch>2024-05-31 00:30:37 +0200
commitc3bcb2bd3b354bb05997347821a37506ca6cc298 (patch)
tree83e10ba950cc52c0c3e75b23ea5c5b9827020c85 /snac.h
parentaf8f1ef273e457318cb48f198e73c59e57373723 (diff)
Implement instance announcements
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 2561b6c..8193ca5 100644
--- a/snac.h
+++ b/snac.h
@@ -375,3 +375,9 @@ typedef enum {
} http_status;
const char *http_status_text(int status);
+
+typedef struct {
+ double timestamp;
+ char *text;
+} t_announcement;
+t_announcement *announcement(double after);