summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-12-03 17:58:49 +0100
committerdefault <nobody@localhost>2022-12-03 17:58:49 +0100
commitd00026ac063e960728c5147634ff3591828efced (patch)
tree0456668b56eb64bfdbd2c513a479cc02b247a9d2 /snac.h
parentaf6d31ff83bfe1eb6f4d37c5623e35f149e9aee5 (diff)
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);
d_char *index_list(const char *fn, int max);
d_char *index_list_desc(const char *fn, int max);
+int object_add(const char *id, d_char *obj);
+int object_add_ow(const char *id, d_char *obj);
int object_here_by_md5(char *id);
int object_here(char *id);
int object_get_by_md5(const char *md5, d_char **obj, const char *type);
int object_get(const char *id, d_char **obj, const char *type);
int object_del(const char *id);
int object_del_if_unref(const char *id);
+int object_admire(const char *id, const char *actor, int like);
d_char *object_children(const char *id);
d_char *object_likes(const char *id);
d_char *object_announces(const char *id);
int object_parent(const char *id, char *buf, int size);
+int object_user_cache_add(snac *snac, const char *id, const char *cachedir);
+int object_user_cache_del(snac *snac, const char *id, const char *cachedir);
+
int follower_add(snac *snac, const char *actor);
int follower_del(snac *snac, const char *actor);
int follower_check(snac *snac, const char *actor);