summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authorGravatar default2022-12-03 17:58:49 +0100
committerGravatar default2022-12-03 17:58:49 +0100
commitd00026ac063e960728c5147634ff3591828efced (patch)
tree0456668b56eb64bfdbd2c513a479cc02b247a9d2 /snac.h
parentNew function timeline_simple_list(). (diff)
downloadsnac2-d00026ac063e960728c5147634ff3591828efced.tar.gz
snac2-d00026ac063e960728c5147634ff3591828efced.tar.xz
snac2-d00026ac063e960728c5147634ff3591828efced.zip
Upgraded local/ to public/.
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 1254584..0980321 100644
--- a/snac.h
+++ b/snac.h
@@ -60,18 +60,24 @@ int index_first(const char *fn, char *buf, int size);
60d_char *index_list(const char *fn, int max); 60d_char *index_list(const char *fn, int max);
61d_char *index_list_desc(const char *fn, int max); 61d_char *index_list_desc(const char *fn, int max);
62 62
63int object_add(const char *id, d_char *obj);
64int object_add_ow(const char *id, d_char *obj);
63int object_here_by_md5(char *id); 65int object_here_by_md5(char *id);
64int object_here(char *id); 66int object_here(char *id);
65int object_get_by_md5(const char *md5, d_char **obj, const char *type); 67int object_get_by_md5(const char *md5, d_char **obj, const char *type);
66int object_get(const char *id, d_char **obj, const char *type); 68int object_get(const char *id, d_char **obj, const char *type);
67int object_del(const char *id); 69int object_del(const char *id);
68int object_del_if_unref(const char *id); 70int object_del_if_unref(const char *id);
71int object_admire(const char *id, const char *actor, int like);
69 72
70d_char *object_children(const char *id); 73d_char *object_children(const char *id);
71d_char *object_likes(const char *id); 74d_char *object_likes(const char *id);
72d_char *object_announces(const char *id); 75d_char *object_announces(const char *id);
73int object_parent(const char *id, char *buf, int size); 76int object_parent(const char *id, char *buf, int size);
74 77
78int object_user_cache_add(snac *snac, const char *id, const char *cachedir);
79int object_user_cache_del(snac *snac, const char *id, const char *cachedir);
80
75int follower_add(snac *snac, const char *actor); 81int follower_add(snac *snac, const char *actor);
76int follower_del(snac *snac, const char *actor); 82int follower_del(snac *snac, const char *actor);
77int follower_check(snac *snac, const char *actor); 83int follower_check(snac *snac, const char *actor);