diff options
| author | grunfink <grunfink@noreply.codeberg.org> | 2025-01-15 05:54:48 +0000 |
|---|---|---|
| committer | grunfink <grunfink@noreply.codeberg.org> | 2025-01-15 05:54:48 +0000 |
| commit | a3995f7efffe559c7c2a7106d7ffe9cb8b1e414a (patch) | |
| tree | 9aa977880eb79a8506244d9d7fbaa7f5b6a6f780 /snac.h | |
| parent | 0078f9db6892f984434cc34dbbae1ec5c31d1a90 (diff) | |
| parent | b5c5c5cb9e1c728a83596dcc7c4191d012fe1332 (diff) | |
Merge pull request 'Implement faster min_id handling' (#277) from nowster/snac2:fast_min_id into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/277
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); |