summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-12-10 11:19:26 +0100
committerdefault <nobody@localhost>2022-12-10 11:19:26 +0100
commit83a68d635da380329ed5cdd312011701beef6f44 (patch)
tree32ef968548a73682c3444348d50c6b337b6a2008 /snac.h
parent6fd5d14428e6a6145cda2ee1a25118696da4e4eb (diff)
New function index_len().
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 39f2f2d..84d4788 100644
--- a/snac.h
+++ b/snac.h
@@ -57,6 +57,7 @@ double mtime_nl(const char *fn, int *n_link);
int index_add(const char *fn, const char *md5);
int index_del(const char *fn, const char *md5);
int index_first(const char *fn, char *buf, int size);
+int index_len(const char *fn);
d_char *index_list(const char *fn, int max);
d_char *index_list_desc(const char *fn, int skip, int show);
@@ -70,6 +71,9 @@ 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);
+int object_likes_len(const char *id);
+int object_announces_len(const char *id);
+
d_char *object_children(const char *id);
d_char *object_likes(const char *id);
d_char *object_announces(const char *id);