Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
int | mspack_sys_filelen (struct mspack_system *system, struct mspack_file *file, off_t *length) |
int | mspack_valid_system (struct mspack_system *sys) |
Variables | |
struct mspack_system * | mspack_default_system |
int mspack_sys_filelen | ( | struct mspack_system * | system, |
struct mspack_file * | file, | ||
off_t * | length | ||
) |
Definition at line 66 of file system.c.
References length, MSPACK_ERR_OK, MSPACK_ERR_OPEN, MSPACK_ERR_SEEK, MSPACK_SYS_SEEK_END, MSPACK_SYS_SEEK_START, mspack_system::seek, and mspack_system::tell.
Referenced by cabd_search().
int mspack_valid_system | ( | struct mspack_system * | sys | ) |
Definition at line 58 of file system.c.
References mspack_system::alloc, mspack_system::close, mspack_system::copy, mspack_system::free, mspack_system::message, NULL, mspack_system::null_ptr, mspack_system::open, mspack_system::read, mspack_system::seek, mspack_system::tell, and mspack_system::write.
Referenced by mspack_create_cab_decompressor(), mspack_create_chm_decompressor(), mspack_create_kwaj_decompressor(), mspack_create_oab_decompressor(), and mspack_create_szdd_decompressor().
|
extern |
Definition at line 238 of file system.c.
Referenced by mspack_create_cab_decompressor(), mspack_create_chm_decompressor(), mspack_create_kwaj_decompressor(), mspack_create_oab_decompressor(), and mspack_create_szdd_decompressor().