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 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1570 #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 | 1570 #if defined(_LARGEFILE64_SOURCE) && _LFS64_LARGEFILE-0 |
1571 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); | 1571 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); |
1572 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int)); | 1572 ZEXTERN z_off64_t ZEXPORT gzseek64 OF((gzFile, z_off64_t, int)); |
1573 ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile)); | 1573 ZEXTERN z_off64_t ZEXPORT gztell64 OF((gzFile)); |
1574 ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile)); | 1574 ZEXTERN z_off64_t ZEXPORT gzoffset64 OF((gzFile)); |
1575 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t)); | 1575 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off64_t)); |
1576 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t)); | 1576 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off64_t)); |
1577 #endif | 1577 #endif |
1578 | 1578 |
1579 #if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0 | 1579 #if !defined(ZLIB_INTERNAL) && _FILE_OFFSET_BITS-0 == 64 && _LFS64_LARGEFILE-0 |
1580 # if !defined(MOZZCONF_H) | 1580 # ifdef gzopen |
1581 # define gzopen gzopen64 | 1581 # undef gzopen |
1582 # define gzseek gzseek64 | |
1583 # define gztell gztell64 | |
1584 # define gzoffset gzoffset64 | |
1585 # define adler32_combine adler32_combine64 | |
1586 # define crc32_combine crc32_combine64 | |
1587 # endif | 1582 # endif |
| 1583 # define gzopen gzopen64 |
| 1584 # ifdef gzseek |
| 1585 # undef gzseek |
| 1586 # endif |
| 1587 # define gzseek gzseek64 |
| 1588 # ifdef gztell |
| 1589 # undef gztell |
| 1590 # endif |
| 1591 # define gztell gztell64 |
| 1592 # ifdef gzoffset |
| 1593 # undef gzoffset |
| 1594 # endif |
| 1595 # define gzoffset gzoffset64 |
| 1596 # ifdef adler32_combine |
| 1597 # undef adler32_combine |
| 1598 # endif |
| 1599 # define adler32_combine adler32_combine64 |
| 1600 # ifdef crc32_combine |
| 1601 # undef crc32_combine |
| 1602 # endif |
| 1603 # define crc32_combine crc32_combine64 |
1588 # ifdef _LARGEFILE64_SOURCE | 1604 # ifdef _LARGEFILE64_SOURCE |
1589 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); | 1605 ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *)); |
1590 ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int)); | 1606 ZEXTERN z_off_t ZEXPORT gzseek64 OF((gzFile, z_off_t, int)); |
1591 ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile)); | 1607 ZEXTERN z_off_t ZEXPORT gztell64 OF((gzFile)); |
1592 ZEXTERN z_off_t ZEXPORT gzoffset64 OF((gzFile)); | 1608 ZEXTERN z_off_t ZEXPORT gzoffset64 OF((gzFile)); |
1593 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t)); | 1609 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t)); |
1594 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t)); | 1610 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t)); |
1595 # else | 1611 # else |
1596 ZEXTERN gzFile ZEXPORT gzopen OF((const char *, const char *)); | 1612 ZEXTERN gzFile ZEXPORT gzopen OF((const char *, const char *)); |
1597 ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile, z_off_t, int)); | 1613 ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile, z_off_t, int)); |
(...skipping 20 matching lines...) Expand all Loading... |
1618 ZEXTERN const char * ZEXPORT zError OF((int)); | 1634 ZEXTERN const char * ZEXPORT zError OF((int)); |
1619 ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp)); | 1635 ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp)); |
1620 ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void)); | 1636 ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void)); |
1621 ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int)); | 1637 ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int)); |
1622 | 1638 |
1623 #ifdef __cplusplus | 1639 #ifdef __cplusplus |
1624 } | 1640 } |
1625 #endif | 1641 #endif |
1626 | 1642 |
1627 #endif /* ZLIB_H */ | 1643 #endif /* ZLIB_H */ |
OLD | NEW |