Skip to content

Latest commit

 

History

History
118 lines (117 loc) · 16.7 KB

File metadata and controls

118 lines (117 loc) · 16.7 KB

libzip API mapping

libzip SwiftZip description
⛔️ zip_add obsolete add file to zip archive or replace file in zip archive (obsolete interface)
⛔️ zip_add_dir obsolete add directory to zip archive (obsolete interface)
zip_close ZipArchive.close close zip archive
zip_delete ZipMutableEntry.delete delete file from zip archive
zip_dir_add ZipMutableArchive.addDirectory add directory to zip archive
zip_discard ZipArchive.discard close zip archive and discard changes
zip_errors missing list of all libzip error codes
📦 zip_error_clear used internally clear error state for archive or file
zip_error_code_system missing get operating system error part of zip_error
zip_error_code_zip missing get libzip error part of zip_error
zip_error_fini missing clean up zip_error structure
⛔️ zip_error_get obsolete get error codes for archive or file (obsolete interface)
⛔️ zip_error_get_sys_type obsolete get type of system error code (obsolete interface)
zip_error_init missing initialize zip_error structure
zip_error_init_with_code missing initialize zip_error structure
zip_error_set missing fill in zip_error structure
zip_error_strerror ZipError.errorDescription create human-readable string for zip_error
zip_error_system_type missing return type of system error
zip_error_to_data missing convert zip_error to return value suitable for ZIP_SOURCE_ERROR
⛔️ zip_error_to_str obsolete get string representation of zip error (obsolete interface)
zip_fclose ZipEntryReader.close close file in zip archive
zip_fdopen ZipArchive.init open zip archive using open file descriptor
zip_file_add ZipMutableArchive.addFile add file to zip archive or replace file in zip archive
📦 zip_file_error_clear used internally clear error state for archive or file
⛔️ zip_file_error_get obsolete get error codes for archive or file (obsolete interface)
zip_file_extra_fields_count ZipEntry.getExtraFieldsCount count extra fields for file in zip
zip_file_extra_fields_count_by_id ZipEntry.getExtraFieldsCount count extra fields for file in zip
zip_file_extra_field_delete ZipMutableEntry.deleteExtraField delete extra field for file in zip
zip_file_extra_field_delete_by_id ZipMutableEntry.deleteExtraField delete extra field for file in zip
zip_file_extra_field_get ZipEntry.getExtraField get extra field for file in zip
zip_file_extra_field_get_by_id ZipEntry.getExtraField get extra field for file in zip
zip_file_extra_field_set ZipMutableEntry.setExtraField set extra field for file in zip
zip_file_get_comment ZipEntry.getComment get comment for file in zip
📦 zip_file_get_error used internally extract zip_error from zip_file
zip_file_get_external_attributes ZipEntry.getExternalAttributes get external attributes for file in zip
zip_file_rename ZipMutableEntry.rename rename file in zip archive
zip_file_replace ZipMutableEntry.replace add file to zip archive or replace file in zip archive
zip_file_set_comment ZipMutableEntry.setComment set comment for file in zip
🚫 zip_file_set_dostime see file_set_mtime set last modification time (mtime) for file in zip
zip_file_set_encryption ZipMutableEntry.setEncryption set encryption method for file in zip
zip_file_set_external_attributes ZipMutableEntry.setExternalAttributes set external attributes for file in zip
zip_file_set_mtime ZipMutableEntry.setModificationDate set last modification time (mtime) for file in zip
🚫 zip_file_strerror not relevant get string representation for a zip error
zip_fopen ZipArchive.open open file in zip archive for reading
zip_fopen_encrypted ZipArchive.open open encrypted file in zip archive for reading
zip_fopen_index ZipEntry.getExternalAttributes open file in zip archive for reading
zip_fopen_index_encrypted ZipEntry.getExternalAttributes open encrypted file in zip archive for reading
zip_fread ZipEntryReader.read read from file
zip_fseek ZipEntryReader.seek seek in file
zip_ftell ZipEntryReader.tell tell position in file
zip_get_archive_comment ZipArchive.getComment get zip archive comment
📦 zip_get_archive_flag used internally get status flags for zip
📦 zip_get_error used internally get zip error for archive
⛔️ zip_get_file_comment obsolete get comment for file in zip (obsolete interface)
zip_get_name ZipEntry.getName get name of file by index
zip_get_num_entries ZipArchive.getEntryCount get number of files in archive
⛔️ zip_get_num_files obsolete get number of files in archive (obsolete interface)
zip_libzip_version missing return run-time version of library
zip_name_locate ZipArchive.locate get index of file by name
zip_open ZipArchive.init open zip archive
zip_open_from_source ZipArchive.init open zip archive
⛔️ zip_register_progress_callback obsolete provide updates during zip_close (obsolete interface)
zip_register_progress_callback_with_state missing provide updates during zip_close
⛔️ zip_rename obsolete rename file in zip archive (obsolete interface)
⛔️ zip_replace obsolete add file to zip archive or replace file in zip archive (obsolete interface)
zip_set_archive_comment ZipMutableArchive.setComment set zip archive comment
zip_set_archive_flag missing set zip archive flag
zip_set_default_password ZipArchive.setDefaultPassword set default password for encrypted files in zip
⛔️ zip_set_file_comment obsolete set comment for file in zip (obsolete interface)
zip_set_file_compression ZipMutableEntry.setCompression set compression method for file in zip
zip_source ZipSource zip data source structure
zip_source_begin_write missing prepare zip source for writing
zip_source_begin_write_cloning missing prepare zip source for writing
🚫 zip_source_buffer not relevant create zip data source from buffer
zip_source_buffer_create ZipSource.init create zip data source from buffer
🚫 zip_source_buffer_fragment not relevant create zip data source from multiple buffer
zip_source_buffer_fragment_create missing create zip data source from multiple buffer
zip_source_close missing open zip_source (which was open for reading)
zip_source_commit_write missing finalize changes to zip source
zip_source_error missing get zip error for data source
🚫 zip_source_file not relevant create data source from a file
🚫 zip_source_filep not relevant create data source from FILE *
zip_source_filep_create ZipSource.init create data source from FILE *
zip_source_file_create ZipSource.init create data source from a file
zip_source_free ZipSource.deinit free zip data source
🚫 zip_source_function not relevant create data source from function
zip_source_function_create ZipSource.init create data source from function
zip_source_is_deleted missing check if zip_source is deleted
📦 zip_source_keep used internally increment reference count of zip data source
zip_source_make_command_bitmap missing create bitmap of supported source operations
zip_source_open missing open zip_source for reading
zip_source_read missing read data from zip source
zip_source_rollback_write missing undo changes to zip source
zip_source_seek missing set read offset in zip source
zip_source_seek_compute_offset missing validate arguments and compute offset
zip_source_seek_write missing set write offset in zip source
zip_source_stat missing get information about zip_source
zip_source_tell missing report current read offset in zip source
zip_source_tell_write missing report current write offset in zip source
🚫 zip_source_win32a not relevant create data source from a Windows ANSI file name
🏳️ zip_source_win32a_create windows-specific create data source from a Windows ANSI file name
🚫 zip_source_win32handle not relevant create data source from a Windows file handle
🏳️ zip_source_win32handle_create windows-specific create data source from a Windows file handle
🚫 zip_source_win32w not relevant create data source from a Windows Unicode file name
🏳️ zip_source_win32w_create windows-specific create data source from a Windows Unicode file name
zip_source_write missing write data to zip source
zip_source_zip missing create data source from zip file
zip_stat ZipArchive.stat get information about file
zip_stat_index ZipEntry.stat get information about file
📦 zip_stat_init used internally initialize zip_stat structure
🚫 zip_strerror not relevant get string representation for a zip error
zip_unchange ZipMutableEntry.unchange undo changes to file in zip archive
zip_unchange_all ZipMutableArchive.unchangeAll undo all changes in a zip archive
zip_unchange_archive ZipMutableArchive.unchangeGlobals undo global changes to zip archive