diff options
| author | 2024-07-23 09:50:56 +0200 | |
|---|---|---|
| committer | 2024-07-23 09:50:56 +0200 | |
| commit | 5921ec57f6804747c1a678d8ab78262b8235b0ab (patch) | |
| tree | 39a01a937be2f810a97475ad521bee603a1e9005 /snac.h | |
| parent | New functions index_desc_first() and index_desc_next() (unused). (diff) | |
| download | snac2-5921ec57f6804747c1a678d8ab78262b8235b0ab.tar.gz snac2-5921ec57f6804747c1a678d8ab78262b8235b0ab.tar.xz snac2-5921ec57f6804747c1a678d8ab78262b8235b0ab.zip | |
Reimplemented index_list_desc() by way of index_desc_first() and index_desc_next().
Diffstat (limited to 'snac.h')
| -rw-r--r-- | snac.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -101,6 +101,8 @@ int index_gc(const char *fn); | |||
| 101 | int index_first(const char *fn, char *buf, int size); | 101 | int index_first(const char *fn, char *buf, int size); |
| 102 | int index_len(const char *fn); | 102 | int index_len(const char *fn); |
| 103 | xs_list *index_list(const char *fn, int max); | 103 | xs_list *index_list(const char *fn, int max); |
| 104 | int index_desc_next(FILE *f, char md5[33]); | ||
| 105 | int index_desc_first(FILE *f, char md5[33], int skip); | ||
| 104 | xs_list *index_list_desc(const char *fn, int skip, int show); | 106 | xs_list *index_list_desc(const char *fn, int skip, int show); |
| 105 | 107 | ||
| 106 | int object_add(const char *id, const xs_dict *obj); | 108 | int object_add(const char *id, const xs_dict *obj); |