diff options
| author | 2024-05-31 00:30:37 +0200 | |
|---|---|---|
| committer | 2024-05-31 00:30:37 +0200 | |
| commit | c3bcb2bd3b354bb05997347821a37506ca6cc298 (patch) | |
| tree | 83e10ba950cc52c0c3e75b23ea5c5b9827020c85 /snac.h | |
| parent | Implement image uploads for Tokodon (diff) | |
| download | snac2-c3bcb2bd3b354bb05997347821a37506ca6cc298.tar.gz snac2-c3bcb2bd3b354bb05997347821a37506ca6cc298.tar.xz snac2-c3bcb2bd3b354bb05997347821a37506ca6cc298.zip | |
Implement instance announcements
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -375,3 +375,9 @@ typedef enum { | |||
| 375 | } http_status; | 375 | } http_status; |
| 376 | 376 | ||
| 377 | const char *http_status_text(int status); | 377 | const char *http_status_text(int status); |
| 378 | |||
| 379 | typedef struct { | ||
| 380 | double timestamp; | ||
| 381 | char *text; | ||
| 382 | } t_announcement; | ||
| 383 | t_announcement *announcement(double after); | ||