diff options
Diffstat (limited to 'zlib.h')
-rw-r--r-- | zlib.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* zlib.h -- interface of the 'zlib' general purpose compression library | 1 | /* zlib.h -- interface of the 'zlib' general purpose compression library |
2 | version 0.94, Aug 13th, 1995. | 2 | version 0.95, Aug 16th, 1995. |
3 | 3 | ||
4 | Copyright (C) 1995 Jean-loup Gailly and Mark Adler | 4 | Copyright (C) 1995 Jean-loup Gailly and Mark Adler |
5 | 5 | ||
@@ -28,7 +28,7 @@ | |||
28 | 28 | ||
29 | #include "zconf.h" | 29 | #include "zconf.h" |
30 | 30 | ||
31 | #define ZLIB_VERSION "0.94" | 31 | #define ZLIB_VERSION "0.95" |
32 | 32 | ||
33 | /* | 33 | /* |
34 | The 'zlib' compression library provides in-memory compression and | 34 | The 'zlib' compression library provides in-memory compression and |
@@ -49,8 +49,8 @@ | |||
49 | (providing more output space) before each call. | 49 | (providing more output space) before each call. |
50 | */ | 50 | */ |
51 | 51 | ||
52 | typedef voidp (*alloc_func) OF((voidp opaque, uInt items, uInt size)); | 52 | typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size)); |
53 | typedef void (*free_func) OF((voidp opaque, voidp address)); | 53 | typedef void (*free_func) OF((voidpf opaque, voidpf address)); |
54 | 54 | ||
55 | struct internal_state; | 55 | struct internal_state; |
56 | 56 | ||
@@ -510,7 +510,7 @@ extern int uncompress OF((Bytef *dest, uLongf *destLen, | |||
510 | */ | 510 | */ |
511 | 511 | ||
512 | 512 | ||
513 | typedef voidnp gzFile; | 513 | typedef voidp gzFile; |
514 | 514 | ||
515 | extern gzFile gzopen OF((char *path, char *mode)); | 515 | extern gzFile gzopen OF((char *path, char *mode)); |
516 | /* | 516 | /* |
@@ -533,7 +533,7 @@ extern gzFile gzdopen OF((int fd, char *mode)); | |||
533 | the (de)compression state. | 533 | the (de)compression state. |
534 | */ | 534 | */ |
535 | 535 | ||
536 | extern int gzread OF((gzFile file, voidnp buf, unsigned len)); | 536 | extern int gzread OF((gzFile file, voidp buf, unsigned len)); |
537 | /* | 537 | /* |
538 | Reads the given number of uncompressed bytes from the compressed file. | 538 | Reads the given number of uncompressed bytes from the compressed file. |
539 | If the input file was not in gzip format, gzread copies the given number | 539 | If the input file was not in gzip format, gzread copies the given number |
@@ -541,7 +541,7 @@ extern int gzread OF((gzFile file, voidnp buf, unsigned len)); | |||
541 | gzread returns the number of uncompressed bytes actually read (0 for | 541 | gzread returns the number of uncompressed bytes actually read (0 for |
542 | end of file, -1 for error). */ | 542 | end of file, -1 for error). */ |
543 | 543 | ||
544 | extern int gzwrite OF((gzFile file, voidnp buf, unsigned len)); | 544 | extern int gzwrite OF((gzFile file, voidp buf, unsigned len)); |
545 | /* | 545 | /* |
546 | Writes the given number of uncompressed bytes into the compressed file. | 546 | Writes the given number of uncompressed bytes into the compressed file. |
547 | gzwrite returns the number of uncompressed bytes actually written | 547 | gzwrite returns the number of uncompressed bytes actually written |