diff options
author | grunfink <grunfink@noreply.codeberg.org> | 2024-05-31 09:09:54 +0000 |
---|---|---|
committer | grunfink <grunfink@noreply.codeberg.org> | 2024-05-31 09:09:54 +0000 |
commit | fe52b7612e4a96d491f925dfcbbbaa6251654ca4 (patch) | |
tree | 40fb16a0f78b0988dd8167c101554d8425d2a875 /snac.h | |
parent | a5e331c05e79a6cd0904b23ab9c71724cd628d16 (diff) | |
parent | ac3b5dcbd472b533ec543331692921b804fd02e4 (diff) |
Merge pull request 'Implement instance announcements' (#173) from louis77/snac2:announcements into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/173
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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); |