diff options
| author | 2025-01-15 00:40:32 +0000 | |
|---|---|---|
| committer | 2025-01-15 00:40:55 +0000 | |
| commit | b5c5c5cb9e1c728a83596dcc7c4191d012fe1332 (patch) | |
| tree | 85ca79f151cdaf16dc20e4a78e06b9a083c14ffc /snac.h | |
| parent | Don't describe as 'fatal' what are just non-retriable connection errors. (diff) | |
| download | penes-snac2-b5c5c5cb9e1c728a83596dcc7c4191d012fe1332.tar.gz penes-snac2-b5c5c5cb9e1c728a83596dcc7c4191d012fe1332.tar.xz penes-snac2-b5c5c5cb9e1c728a83596dcc7c4191d012fe1332.zip | |
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); | |||
| 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); |