@@ -18,10 +18,11 @@ #include #import "OFZIPArchive.h" #import "OFZIPArchiveEntry.h" +#import "OFZIPArchiveEntry+Private.h" #import "OFDictionary.h" #import "OFFile.h" #import "OFChecksumFailedException.h" #import "OFInvalidArgumentException.h" @@ -44,10 +45,15 @@ * - Write support is missing. * - The ZIP has to be a file on the local file system. * - No support for ZIP64. * - No support for data descriptors (useless without compression anyway). */ + +@interface OFZIPArchive (OF_PRIVATE_CATEGORY) +- (void)OF_readZIPInfo; +- (void)OF_readEntries; +@end @interface OFZIPArchive_LocalFileHeader: OFObject { @public uint16_t _minVersion, _generalPurposeBitFlag, _compressionMethod;