MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / unzGetCurrentFileInfo

Function unzGetCurrentFileInfo

src/Setup/unzip.cpp:3182–3187  ·  view source on GitHub ↗

Write info about the ZipFile in the *pglobal_info structure. No preparation of the structure is needed return UNZ_OK if there is no problem.

Source from the content-addressed store, hash-verified

3180// No preparation of the structure is needed
3181// return UNZ_OK if there is no problem.
3182int unzGetCurrentFileInfo (unzFile file, unz_file_info *pfile_info,
3183 char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize,
3184 char *szComment, uLong commentBufferSize)
3185{ return unzlocal_GetCurrentFileInfoInternal(file,pfile_info,NULL,szFileName,fileNameBufferSize,
3186 extraField,extraFieldBufferSize, szComment,commentBufferSize);
3187}
3188
3189
3190// Set the current file of the zipfile to the first file.

Callers 2

unzLocateFileFunction · 0.85
GetMethod · 0.85

Tested by

no test coverage detected