summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-07-23 09:50:56 +0200
committerdefault <nobody@localhost>2024-07-23 09:50:56 +0200
commit5921ec57f6804747c1a678d8ab78262b8235b0ab (patch)
tree39a01a937be2f810a97475ad521bee603a1e9005 /snac.h
parent78f383f0251c951ae88a4ce2f266c9e78d9f90af (diff)
Reimplemented index_list_desc() by way of index_desc_first() and index_desc_next().
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/snac.h b/snac.h
index 9dd2024..0923df0 100644
--- a/snac.h
+++ b/snac.h
@@ -101,6 +101,8 @@ int index_gc(const char *fn);
int index_first(const char *fn, char *buf, int size);
int index_len(const char *fn);
xs_list *index_list(const char *fn, int max);
+int index_desc_next(FILE *f, char md5[33]);
+int index_desc_first(FILE *f, char md5[33], int skip);
xs_list *index_list_desc(const char *fn, int skip, int show);
int object_add(const char *id, const xs_dict *obj);