79 SQFS_FILE_OPEN_ALL_FLAGS = 0x07,
110 void *buffer,
size_t size);
125 const void *buffer,
size_t size);
If set, do not try to apply any character set transformations to the file path.
int(* write_at)(sqfs_file_t *file, sqfs_u64 offset, const void *buffer, size_t size)
Write a chunk of data at an absolute position.
SQFS_FILE_OPEN_FLAGS
Flags for sqfs_open_file.
int(* truncate)(sqfs_file_t *file, sqfs_u64 size)
Extend or shrink a file to a specified size.
Abstracts file I/O to make it easy to embedd SquashFS.
int(* read_at)(sqfs_file_t *file, sqfs_u64 offset, void *buffer, size_t size)
Read a chunk of data from an absolute position.
SQFS_API sqfs_file_t * sqfs_open_file(const char *filename, sqfs_u32 flags)
Open a file through the operating systems filesystem API.
Base interface for all libsquashfs in-memory data structures.
If set, access the file for reading only.
sqfs_u64(* get_size)(const sqfs_file_t *file)
Get the number of bytes currently stored in the file.
Includes forward declarations of data structures, macros and integer types.
If the read only flag is not set, overwrite any existing file.