Differences From Artifact [b6dd03ce21]:
- File
src/OFGZIPStream.h
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 2278) [annotate] [blame] [check-ins using]
To Artifact [dc02ae5a5d]:
- File src/OFGZIPStream.h — part of check-in [35934a9594] at 2017-04-02 16:02:52 on branch trunk — Avoid the anonymous namespace for ObjC++ with GCC (user: js, size: 2338) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
21 22 23 24 25 26 27 | OF_ASSUME_NONNULL_BEGIN @interface OFGZIPStream: OFStream { OFStream *_stream; OFDeflateStream *_inflateStream; | | | | | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | OF_ASSUME_NONNULL_BEGIN @interface OFGZIPStream: OFStream { OFStream *_stream; OFDeflateStream *_inflateStream; enum of_gzip_stream_state { OF_GZIP_STREAM_ID1, OF_GZIP_STREAM_ID2, OF_GZIP_STREAM_COMPRESSION_METHOD, OF_GZIP_STREAM_FLAGS, OF_GZIP_STREAM_MODIFICATION_TIME, OF_GZIP_STREAM_EXTRA_FLAGS, OF_GZIP_STREAM_OS, OF_GZIP_STREAM_EXTRA_LENGTH, OF_GZIP_STREAM_EXTRA, OF_GZIP_STREAM_NAME, OF_GZIP_STREAM_COMMENT, OF_GZIP_STREAM_HEADER_CRC16, OF_GZIP_STREAM_DATA, OF_GZIP_STREAM_CRC32, OF_GZIP_STREAM_UNCOMPRESSED_SIZE } _state; enum of_gzip_stream_flags { OF_GZIP_STREAM_FLAG_TEXT = 0x01, OF_GZIP_STREAM_FLAG_HEADER_CRC16 = 0x02, OF_GZIP_STREAM_FLAG_EXTRA = 0x04, OF_GZIP_STREAM_FLAG_NAME = 0x08, OF_GZIP_STREAM_FLAG_COMMENT = 0x10 } _flags; uint8_t _extraFlags; enum of_gzip_stream_os { OF_GZIP_STREAM_OS_FAT = 0, OF_GZIP_STREAM_OS_AMIGA = 1, OF_GZIP_STREAM_OS_VMS = 2, OF_GZIP_STREAM_OS_UNIX = 3, OF_GZIP_STREAM_OS_VM_CMS = 4, OF_GZIP_STREAM_OS_ATARI_TOS = 5, OF_GZIP_STREAM_OS_HPFS = 6, |
︙ | ︙ |