diff options
| author | Paul Martin <pm@nowster.org.uk> | 2025-01-15 00:40:32 +0000 |
|---|---|---|
| committer | Paul Martin <pm@nowster.org.uk> | 2025-01-15 00:40:55 +0000 |
| commit | b5c5c5cb9e1c728a83596dcc7c4191d012fe1332 (patch) | |
| tree | 85ca79f151cdaf16dc20e4a78e06b9a083c14ffc /snac.h | |
| parent | a016045a8fb80e4accad618c60b987bad708f45e (diff) | |
Implement faster min_id handling
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -108,6 +108,8 @@ int index_len(const char *fn); xs_list *index_list(const char *fn, int max); int index_desc_next(FILE *f, char md5[MD5_HEX_SIZE]); int index_desc_first(FILE *f, char md5[MD5_HEX_SIZE], int skip); +int index_asc_next(FILE *f, char md5[MD5_HEX_SIZE]); +int index_asc_first(FILE *f, char md5[MD5_HEX_SIZE], const char *seek_md5); xs_list *index_list_desc(const char *fn, int skip, int show); int object_add(const char *id, const xs_dict *obj); |