mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Rerun clang-format
This commit is contained in:
		
							
								
								
									
										17
									
								
								miniz_zip.h
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								miniz_zip.h
									
									
									
									
									
								
							| @@ -349,15 +349,12 @@ mz_bool mz_zip_writer_add_mem(mz_zip_archive *pZip, const char *pArchive_name, c | ||||
|  | ||||
| /* Like mz_zip_writer_add_mem(), except you can specify a file comment field, and optionally supply the function with already compressed data. */ | ||||
| /* uncomp_size/uncomp_crc32 are only used if the MZ_ZIP_FLAG_COMPRESSED_DATA flag is specified. */ | ||||
| mz_bool mz_zip_writer_add_mem_ex(mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags,  | ||||
| 	mz_uint64 uncomp_size, mz_uint32 uncomp_crc32); | ||||
| 	 | ||||
| mz_bool mz_zip_writer_add_mem_ex_v2(mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags,  | ||||
| 	mz_uint64 uncomp_size, mz_uint32 uncomp_crc32, MZ_TIME_T *last_modified, const char* user_extra_data_local, mz_uint user_extra_data_local_len, | ||||
| 	const char* user_extra_data_central, mz_uint user_extra_data_central_len); | ||||
| 	 | ||||
|  | ||||
| mz_bool mz_zip_writer_add_mem_ex(mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, | ||||
|                                  mz_uint64 uncomp_size, mz_uint32 uncomp_crc32); | ||||
|  | ||||
| mz_bool mz_zip_writer_add_mem_ex_v2(mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, | ||||
|                                     mz_uint64 uncomp_size, mz_uint32 uncomp_crc32, MZ_TIME_T *last_modified, const char *user_extra_data_local, mz_uint user_extra_data_local_len, | ||||
|                                     const char *user_extra_data_central, mz_uint user_extra_data_central_len); | ||||
|  | ||||
| #ifndef MINIZ_NO_STDIO | ||||
| /* Adds the contents of a disk file to an archive. This function also records the disk file's modified time into the archive. */ | ||||
| @@ -366,8 +363,8 @@ mz_bool mz_zip_writer_add_file(mz_zip_archive *pZip, const char *pArchive_name, | ||||
|  | ||||
| /* Like mz_zip_writer_add_file(), except the file data is read from the specified FILE stream. */ | ||||
| mz_bool mz_zip_writer_add_cfile(mz_zip_archive *pZip, const char *pArchive_name, MZ_FILE *pSrc_file, mz_uint64 size_to_add, | ||||
| 	const MZ_TIME_T *pFile_time, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, const char* user_extra_data_local, mz_uint user_extra_data_local_len, | ||||
| 	const char* user_extra_data_central, mz_uint user_extra_data_central_len); | ||||
|                                 const MZ_TIME_T *pFile_time, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, const char *user_extra_data_local, mz_uint user_extra_data_local_len, | ||||
|                                 const char *user_extra_data_central, mz_uint user_extra_data_central_len); | ||||
| #endif | ||||
|  | ||||
| /* Adds a file to an archive by fully cloning the data from another archive. */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user