diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sqfs/dir.h | 6 | ||||
-rw-r--r-- | include/sqfs/dir_reader.h | 2 | ||||
-rw-r--r-- | include/sqfs/meta_reader.h | 4 | ||||
-rw-r--r-- | include/sqfs/predef.h | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/include/sqfs/dir.h b/include/sqfs/dir.h index 8a76f3d..6f7dadf 100644 --- a/include/sqfs/dir.h +++ b/include/sqfs/dir.h @@ -41,7 +41,7 @@ */ struct sqfs_dir_header_t { /** - * @brief The number of @ref sqfs_dir_entry_t entries that are + * @brief The number of @ref sqfs_dir_node_t entries that are * following. * * This value is stored off by one and the total count must not @@ -63,7 +63,7 @@ struct sqfs_dir_header_t { }; /** - * @struct sqfs_dir_entry_t + * @struct sqfs_dir_node_t * * @brief On-disk data structure of a directory entry. Many of these * follow a single @ref sqfs_dir_header_t. @@ -71,7 +71,7 @@ struct sqfs_dir_header_t { * See @ref sqfs_dir_writer_t for an overview on how SquashFS stores * directories on disk. */ -struct sqfs_dir_entry_t { +struct sqfs_dir_node_t { /** * @brief An offset into the uncompressed meta data block containing * the coresponding inode. diff --git a/include/sqfs/dir_reader.h b/include/sqfs/dir_reader.h index ace7bad..1489a1f 100644 --- a/include/sqfs/dir_reader.h +++ b/include/sqfs/dir_reader.h @@ -296,7 +296,7 @@ SQFS_API int sqfs_dir_reader_find(sqfs_dir_reader_t *rd, const char *name); * number if the end of the current directory listing has been reached. */ SQFS_API int sqfs_dir_reader_read(sqfs_dir_reader_t *rd, - sqfs_dir_entry_t **out); + sqfs_dir_node_t **out); /** * @brief Read the inode that the current directory entry points to. diff --git a/include/sqfs/meta_reader.h b/include/sqfs/meta_reader.h index 149672b..9563b82 100644 --- a/include/sqfs/meta_reader.h +++ b/include/sqfs/meta_reader.h @@ -182,7 +182,7 @@ SQFS_API int sqfs_meta_reader_read_dir_header(sqfs_meta_reader_t *m, * @return Zero on success, an @ref SQFS_ERROR value on failure. */ SQFS_API int sqfs_meta_reader_read_dir_ent(sqfs_meta_reader_t *m, - sqfs_dir_entry_t **ent); + sqfs_dir_node_t **ent); /** * @brief Initialize a state object for reading a directory @@ -232,7 +232,7 @@ int sqfs_readdir_state_init(sqfs_readdir_state_t *s, const sqfs_super_t *super, */ SQFS_API int sqfs_meta_reader_readdir(sqfs_meta_reader_t *m, sqfs_readdir_state_t *s, - sqfs_dir_entry_t **ent, + sqfs_dir_node_t **ent, sqfs_u32 *inum, sqfs_u64 *iref); /** diff --git a/include/sqfs/predef.h b/include/sqfs/predef.h index aae95e4..989649a 100644 --- a/include/sqfs/predef.h +++ b/include/sqfs/predef.h @@ -101,7 +101,7 @@ typedef struct sqfs_ostream_t sqfs_ostream_t; typedef struct sqfs_fragment_t sqfs_fragment_t; typedef struct sqfs_dir_header_t sqfs_dir_header_t; -typedef struct sqfs_dir_entry_t sqfs_dir_entry_t; +typedef struct sqfs_dir_node_t sqfs_dir_node_t; typedef struct sqfs_dir_index_t sqfs_dir_index_t; typedef struct sqfs_inode_t sqfs_inode_t; typedef struct sqfs_inode_dev_t sqfs_inode_dev_t; |