Skip to content

Commit

Permalink
sqsh_archive: fix missing functions and fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Jul 12, 2023
1 parent 18d8aa2 commit 5c3c98c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions include/sqsh_archive.h
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,17 @@ enum SqshLzoAlgorithm sqsh_compression_options_lzo_algorithm(
uint32_t sqsh_compression_options_lzo_compression_level(
const struct SqshCompressionOptions *context);

/**
* @memberof SqshCompressionOptions
* @brief returns the size of the compression options struct
*
* @param[in] context the compression options context
*
* @return the size of the compression options struct
*/
size_t
sqsh_compression_options_size(const struct SqshCompressionOptions *context);

/**
* @memberof SqshCompressionOptions
* @brief Frees a SqshCompressionOptions struct.
Expand Down
2 changes: 1 addition & 1 deletion include/sqsh_chrome.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ size_t sqsh_file_size(struct SqshArchive *archive, const char *path);
*
* @return The unix permissions of the file on success, less than 0 on error.
*/
mode_t sqsh_file_permissions(struct SqshArchive *archive, const char *path);
mode_t sqsh_file_permission(struct SqshArchive *archive, const char *path);

/**
* @brief retrieves the modification time of a file.
Expand Down

0 comments on commit 5c3c98c

Please sign in to comment.