OLD | NEW |
1 /* zlib.h -- interface of the 'zlib' general purpose compression library | 1 /* zlib.h -- interface of the 'zlib' general purpose compression library |
2 version 1.2.5, April 19th, 2010 | 2 version 1.2.5, April 19th, 2010 |
3 | 3 |
4 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler | 4 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler |
5 | 5 |
6 This software is provided 'as-is', without any express or implied | 6 This software is provided 'as-is', without any express or implied |
7 warranty. In no event will the authors be held liable for any damages | 7 warranty. In no event will the authors be held liable for any damages |
8 arising from the use of this software. | 8 arising from the use of this software. |
9 | 9 |
10 Permission is granted to anyone to use this software for any purpose, | 10 Permission is granted to anyone to use this software for any purpose, |
(...skipping 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1565 #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 | 1565 #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 |
1566 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); | 1566 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); |
1567 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int)); | 1567 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int)); |
1568 ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile)); | 1568 ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile)); |
1569 ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile)); | 1569 ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile)); |
1570 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t)); | 1570 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t)); |
1571 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t)); | 1571 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t)); |
1572 #endif | 1572 #endif |
1573 | 1573 |
1574 #if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0 | 1574 #if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0 |
1575 # define gzopen gzopen64 | 1575 # if !defined(MOZZCONF_H) |
1576 # define gzseek gzseek64 | 1576 # define gzopen gzopen64 |
1577 # define gztell gztell64 | 1577 # define gzseek gzseek64 |
1578 # define gzoffset gzoffset64 | 1578 # define gztell gztell64 |
1579 # define adler32_combine adler32_combine64 | 1579 # define gzoffset gzoffset64 |
1580 # define crc32_combine crc32_combine64 | 1580 # define adler32_combine adler32_combine64 |
| 1581 # define crc32_combine crc32_combine64 |
| 1582 # endif |
1581 # ifdef _LARGEFILE64_SOURCE | 1583 # ifdef _LARGEFILE64_SOURCE |
1582 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); | 1584 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); |
1583 ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int)); | 1585 ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int)); |
1584 ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile)); | 1586 ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile)); |
1585 ZEXTERN z_off_t ZEXPORT gzoffset64 OF((gzFile)); | 1587 ZEXTERN z_off_t ZEXPORT gzoffset64 OF((gzFile)); |
1586 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t)); | 1588 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t)); |
1587 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t)); | 1589 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t)); |
1588 # endif | 1590 # endif |
1589 #else | 1591 #else |
1590 ZEXTERN gzFile ZEXPORT gzopen OF((const char *, const char *)); | 1592 ZEXTERN gzFile ZEXPORT gzopen OF((const char *, const char *)); |
(...skipping 13 matching lines...) Expand all Loading... |
1604 ZEXTERN const char * ZEXPORT zError OF((int)); | 1606 ZEXTERN const char * ZEXPORT zError OF((int)); |
1605 ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp)); | 1607 ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp)); |
1606 ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void)); | 1608 ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void)); |
1607 ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int)); | 1609 ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int)); |
1608 | 1610 |
1609 #ifdef __cplusplus | 1611 #ifdef __cplusplus |
1610 } | 1612 } |
1611 #endif | 1613 #endif |
1612 | 1614 |
1613 #endif /* ZLIB_H */ | 1615 #endif /* ZLIB_H */ |
OLD | NEW |