summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/snac.h b/snac.h
index ec3ee5c..344dbaa 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 - 2025 grunfink et al. / MIT license */
3 3
4#define VERSION "2.68-dev" 4#define VERSION "2.70-dev"
5 5
6#define USER_AGENT "snac/" VERSION 6#define USER_AGENT "snac/" VERSION
7 7
@@ -108,6 +108,8 @@ int index_len(const char *fn);
108xs_list *index_list(const char *fn, int max); 108xs_list *index_list(const char *fn, int max);
109int index_desc_next(FILE *f, char md5[MD5_HEX_SIZE]); 109int index_desc_next(FILE *f, char md5[MD5_HEX_SIZE]);
110int index_desc_first(FILE *f, char md5[MD5_HEX_SIZE], int skip); 110int index_desc_first(FILE *f, char md5[MD5_HEX_SIZE], int skip);
111int index_asc_next(FILE *f, char md5[MD5_HEX_SIZE]);
112int index_asc_first(FILE *f, char md5[MD5_HEX_SIZE], const char *seek_md5);
111xs_list *index_list_desc(const char *fn, int skip, int show); 113xs_list *index_list_desc(const char *fn, int skip, int show);
112 114
113int object_add(const char *id, const xs_dict *obj); 115int object_add(const char *id, const xs_dict *obj);
@@ -317,7 +319,7 @@ xs_dict *msg_follow(snac *snac, const char *actor);
317 319
318xs_dict *msg_note(snac *snac, const xs_str *content, const xs_val *rcpts, 320xs_dict *msg_note(snac *snac, const xs_str *content, const xs_val *rcpts,
319 const xs_str *in_reply_to, const xs_list *attach, 321 const xs_str *in_reply_to, const xs_list *attach,
320 int priv, const char *lang); 322 int scope, const char *lang);
321 323
322xs_dict *msg_undo(snac *snac, const xs_val *object); 324xs_dict *msg_undo(snac *snac, const xs_val *object);
323xs_dict *msg_delete(snac *snac, const char *id); 325xs_dict *msg_delete(snac *snac, const char *id);