diff options
| author | 2025-01-15 05:54:48 +0000 | |
|---|---|---|
| committer | 2025-01-15 05:54:48 +0000 | |
| commit | a3995f7efffe559c7c2a7106d7ffe9cb8b1e414a (patch) | |
| tree | 9aa977880eb79a8506244d9d7fbaa7f5b6a6f780 /snac.h | |
| parent | Updated RELEASE_NOTES. (diff) | |
| parent | Implement faster min_id handling (diff) | |
| download | snac2-a3995f7efffe559c7c2a7106d7ffe9cb8b1e414a.tar.gz snac2-a3995f7efffe559c7c2a7106d7ffe9cb8b1e414a.tar.xz snac2-a3995f7efffe559c7c2a7106d7ffe9cb8b1e414a.zip | |
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); | |||
| 108 | xs_list *index_list(const char *fn, int max); | 108 | xs_list *index_list(const char *fn, int max); |
| 109 | int index_desc_next(FILE *f, char md5[MD5_HEX_SIZE]); | 109 | int index_desc_next(FILE *f, char md5[MD5_HEX_SIZE]); |
| 110 | int index_desc_first(FILE *f, char md5[MD5_HEX_SIZE], int skip); | 110 | int index_desc_first(FILE *f, char md5[MD5_HEX_SIZE], int skip); |
| 111 | int index_asc_next(FILE *f, char md5[MD5_HEX_SIZE]); | ||
| 112 | int index_asc_first(FILE *f, char md5[MD5_HEX_SIZE], const char *seek_md5); | ||
| 111 | xs_list *index_list_desc(const char *fn, int skip, int show); | 113 | xs_list *index_list_desc(const char *fn, int skip, int show); |
| 112 | 114 | ||
| 113 | int object_add(const char *id, const xs_dict *obj); | 115 | int object_add(const char *id, const xs_dict *obj); |