From a36cf2824c74a3ba7333801268d0ba4194684423 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 1 Jun 2022 00:10:22 +0200 Subject: Cleanup: libsqfs: move directory iteration out of the directory reader Add a simple directory state object to the meta data reader and use that to iterate directory entries. The code for reading the directory listing is movde to readdir.c Signed-off-by: David Oberhollenzer --- include/sqfs/predef.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sqfs/predef.h') diff --git a/include/sqfs/predef.h b/include/sqfs/predef.h index a976cd4..3c13ef5 100644 --- a/include/sqfs/predef.h +++ b/include/sqfs/predef.h @@ -94,6 +94,7 @@ typedef struct sqfs_block_writer_t sqfs_block_writer_t; typedef struct sqfs_block_writer_stats_t sqfs_block_writer_stats_t; typedef struct sqfs_block_processor_stats_t sqfs_block_processor_stats_t; typedef struct sqfs_block_processor_desc_t sqfs_block_processor_desc_t; +typedef struct sqfs_readdir_state_t sqfs_readdir_state_t; typedef struct sqfs_fragment_t sqfs_fragment_t; typedef struct sqfs_dir_header_t sqfs_dir_header_t; -- cgit v1.2.3