summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-11-08 09:20:34 +0100
committerdefault <nobody@localhost>2023-11-08 09:20:34 +0100
commit55d3ef5024d4a597ddeae23ca7d29375c7d6a9d3 (patch)
treea32a47d8085154fede0ca19a27a8e5043cf1cdf3 /snac.h
parent895cf82a7d2b8704aeeabf002bc26a49336586ff (diff)
Tags can now be searched for from the server base URL.
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/snac.h b/snac.h
index 582f5f1..8c02004 100644
--- a/snac.h
+++ b/snac.h
@@ -69,7 +69,8 @@ double mtime_nl(const char *fn, int *n_link);
#define mtime(fn) mtime_nl(fn, NULL)
double f_ctime(const char *fn);
-int index_add(const char *fn, const char *md5);
+int index_add_md5(const char *fn, const char *md5);
+int index_add(const char *fn, const char *id);
int index_gc(const char *fn);
int index_first(const char *fn, char *buf, int size);
int index_len(const char *fn);
@@ -144,6 +145,7 @@ void hide(snac *snac, const char *id);
int is_hidden(snac *snac, const char *id);
void tag_index(const char *id, const xs_dict *obj);
+xs_list *tag_search(char *tag, int skip, int show);
int actor_add(const char *actor, xs_dict *msg);
int actor_get(const char *actor, xs_dict **data);