| 4761 | } |
| 4762 | |
| 4763 | static MZ_FORCEINLINE const mz_uint8 * |
| 4764 | mz_zip_reader_get_cdh(mz_zip_archive *pZip, mz_uint file_index) { |
| 4765 | if ((!pZip) || (!pZip->m_pState) || (file_index >= pZip->m_total_files) || |
| 4766 | (pZip->m_zip_mode != MZ_ZIP_MODE_READING)) |
| 4767 | return NULL; |
| 4768 | return &MZ_ZIP_ARRAY_ELEMENT( |
| 4769 | &pZip->m_pState->m_central_dir, mz_uint8, |
| 4770 | MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_central_dir_offsets, |
| 4771 | mz_uint32, file_index)); |
| 4772 | } |
| 4773 | |
| 4774 | mz_bool mz_zip_reader_is_file_encrypted(mz_zip_archive *pZip, |
| 4775 | mz_uint file_index) { |
no outgoing calls
no test coverage detected