summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/snac.h b/snac.h
index 96916d1..ec3ee5c 100644
--- a/snac.h
+++ b/snac.h
@@ -1,7 +1,7 @@
1/* snac - A simple, minimalistic ActivityPub instance */ 1/* snac - A simple, minimalistic ActivityPub instance */
2/* copyright (c) 2022 - 2024 grunfink et al. / MIT license */ 2/* copyright (c) 2022 - 2024 grunfink et al. / MIT license */
3 3
4#define VERSION "2.67" 4#define VERSION "2.68-dev"
5 5
6#define USER_AGENT "snac/" VERSION 6#define USER_AGENT "snac/" VERSION
7 7
@@ -32,7 +32,7 @@ extern int dbglevel;
32 32
33#define L(s) (s) 33#define L(s) (s)
34 34
35#define POSTLIKE_OBJECT_TYPE "Note|Question|Page|Article|Video|Event" 35#define POSTLIKE_OBJECT_TYPE "Note|Question|Page|Article|Video|Audio|Event"
36 36
37int mkdirx(const char *pathname); 37int mkdirx(const char *pathname);
38 38
@@ -316,7 +316,8 @@ xs_dict *msg_create(snac *snac, const xs_dict *object);
316xs_dict *msg_follow(snac *snac, const char *actor); 316xs_dict *msg_follow(snac *snac, const char *actor);
317 317
318xs_dict *msg_note(snac *snac, const xs_str *content, const xs_val *rcpts, 318xs_dict *msg_note(snac *snac, const xs_str *content, const xs_val *rcpts,
319 const xs_str *in_reply_to, const xs_list *attach, int priv); 319 const xs_str *in_reply_to, const xs_list *attach,
320 int priv, const char *lang);
320 321
321xs_dict *msg_undo(snac *snac, const xs_val *object); 322xs_dict *msg_undo(snac *snac, const xs_val *object);
322xs_dict *msg_delete(snac *snac, const char *id); 323xs_dict *msg_delete(snac *snac, const char *id);