diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-16 15:50:46 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-19 18:22:41 +0200 |
commit | ab0c4a02ba9d1a836f62a8601699c971b72eec07 (patch) | |
tree | 4ceb7a0a5d9c36189a05750da388941c8a223ebb /include/sqfs/error.h | |
parent | 3f4f75777b9b558e0e8c4af4408b094b6d4b1034 (diff) |
Add directory reader data structure
This moves a lot of the stuff that is done manually in the tree
deserializer to a generic helper in libsquashfs.
Due to how the fstree is implemented, as a work around, the inode needs
to be temporarily stored in the tree node, but some of the directory
details could be removed.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/error.h')
-rw-r--r-- | include/sqfs/error.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sqfs/error.h b/include/sqfs/error.h index a9a0acf..ddfeadd 100644 --- a/include/sqfs/error.h +++ b/include/sqfs/error.h @@ -103,6 +103,10 @@ typedef enum { * legal range (4k to 1M). */ SQFS_ERROR_SUPER_BLOCK_SIZE = -11, + + SQFS_ERROR_NOT_DIR = -12, + + SQFS_ERROR_NO_ENTRY = -13, } E_SQFS_ERROR; #endif /* SQFS_ERROR_H */ |