Subversion Repositories SvarDOS

Rev

Rev 269 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 269 Rev 614
1
 
1
 
2
#ifndef INF_H
2
#ifndef INF_H
3
#define INF_H
3
#define INF_H
4
 
4
 
5
/* Decompress from file source to file dest until stream ends or EOF.
5
/* Decompress from file source to file dest until stream ends or EOF.
6
 * inf() returns Z_OK on success, Z_MEM_ERROR if memory could not be allocated
6
 * inf() returns Z_OK on success, Z_MEM_ERROR if memory could not be allocated
7
 * for processing, Z_DATA_ERROR if the deflate data is invalid or incomplete,
7
 * for processing, Z_DATA_ERROR if the deflate data is invalid or incomplete,
8
 * Z_VERSION_ERROR if the version of zlib.h and the version of the library
8
 * Z_VERSION_ERROR if the version of zlib.h and the version of the library
9
 * linked do not match, or Z_ERRNO if there is an error reading or writing the
9
 * linked do not match, or Z_ERRNO if there is an error reading or writing the
10
 * files. */
10
 * files. */
11
int inf(FILE *source, FILE *dest, unsigned char *buff32k, unsigned long *cksum, long streamlen);
11
int inf(FILE *source, FILE *dest, unsigned char *buff32k, unsigned long *cksum, long streamlen);
12
 
12
 
13
#endif
13
#endif
14
 
14