aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs/src/readdir.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-15 18:02:50 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-15 21:48:47 +0200
commit69ac85c09dac74f9691b2ed340438e9648516c9f (patch)
treecec97b1d112f29460739563096c3740a8f2cf648 /lib/sqfs/src/readdir.c
parent0b3f650fa4eb0dcce2258c7bb8974a1304468a05 (diff)
libsqfs: externalize the dir reader state
Instead of holding the state internally, move it outside and let the user pass it in. This allows processing multiple directories and going back and forth between them, while also simplifying the dir reader internals. The sqfs_dir_reader_get_inode function can also be made more generic to accept a reference instead of being fully state dependent. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/src/readdir.c')
0 files changed, 0 insertions, 0 deletions