From 5921ec57f6804747c1a678d8ab78262b8235b0ab Mon Sep 17 00:00:00 2001 From: default Date: Tue, 23 Jul 2024 09:50:56 +0200 Subject: Reimplemented index_list_desc() by way of index_desc_first() and index_desc_next(). --- snac.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'snac.h') 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); -- cgit v1.2.3