34#ifndef SQSH_ITERATOR_PRIVATE_H
35#define SQSH_ITERATOR_PRIVATE_H
58 uint32_t remaining_size;
61 size_t remaining_entries;
63 uint32_t current_inode;
106 size_t remaining_entries;
#define SQSH_NO_EXPORT
Do not export symbol.
#define SQSH_NO_UNUSED
Warn if return value is unused.
size_t sqsh_index_t
typedef used for indexing
SQSH_NO_EXPORT uint32_t sqsh__directory_index_iterator_start(const struct SqshDirectoryIndexIterator *iterator)
SQSH_NO_EXPORT SQSH_NO_UNUSED bool sqsh__directory_index_iterator_next(struct SqshDirectoryIndexIterator *iterator, int *err)
SQSH_NO_EXPORT int sqsh__directory_index_iterator_cleanup(struct SqshDirectoryIndexIterator *iterator)
SQSH_NO_EXPORT const char * sqsh__directory_index_iterator_name(const struct SqshDirectoryIndexIterator *iterator)
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__directory_iterator_init(struct SqshDirectoryIterator *iterator, const struct SqshFile *inode)
SQSH_NO_EXPORT int sqsh__directory_iterator_cleanup(struct SqshDirectoryIterator *iterator)
SQSH_NO_EXPORT uint32_t sqsh__directory_index_iterator_name_size(const struct SqshDirectoryIndexIterator *iterator)
SQSH_NO_EXPORT uint32_t sqsh__directory_index_iterator_index(const struct SqshDirectoryIndexIterator *iterator)
SQSH_NO_EXPORT SQSH_NO_UNUSED int sqsh__directory_index_iterator_init(struct SqshDirectoryIndexIterator *iterator, struct SqshArchive *sqsh, uint64_t inode_ref)
Iterator for directory indexes.