mz_zip_writer_add_file function
Adds the contents of a disk file to an archive. This function also records the disk file's modified time into the archive. / / level_and_flags - compression level (0-10, see MZ_BEST_SPEED, MZ_BEST_COMPRESSION, etc.) logically OR'd with zero or more mz_zip_flags, or just set to MZ_DEFAULT_COMPRESSION.
Implementation
@ffi.Native<
mz_bool Function(
ffi.Pointer<mz_zip_archive>,
ffi.Pointer<ffi.Char>,
ffi.Pointer<ffi.Char>,
ffi.Pointer<ffi.Void>,
mz_uint16,
mz_uint,
)
>()
external int mz_zip_writer_add_file(
ffi.Pointer<mz_zip_archive> pZip,
ffi.Pointer<ffi.Char> pArchive_name,
ffi.Pointer<ffi.Char> pSrc_filename,
ffi.Pointer<ffi.Void> pComment,
int comment_size,
int level_and_flags,
);