#include <stdio.h>
#include "zlib.h"
Go to the source code of this file.
Defines | |
#define | TESTFILE "foo.gz" |
#define | CHECK_ERR(err, msg) |
Functions | |
void exit | OF ((int)) |
void test_compress | OF ((Byte *compr, uLong comprLen, Byte *uncompr, uLong uncomprLen)) |
void test_gzio | OF ((const char *out, const char *in, Byte *uncompr, int uncomprLen)) |
void test_deflate | OF ((Byte *compr, uLong comprLen)) |
void test_flush | OF ((Byte *compr, uLong *comprLen)) |
int main | OF ((int argc, char *argv[])) |
void | test_compress (compr, comprLen, uncompr, uncomprLen) Byte *compr,*uncompr |
Variables | |
const char | hello [] = "hello, hello!" |
const char | dictionary [] = "hello" |
uLong | dictId |
uLong | comprLen |
uLong | uncomprLen |
const char * | in |
Byte * | uncompr |
char * | argv [] |
|
Value: { \ if (err != Z_OK) { \ fprintf(stderr, "%s error: %d\n", msg, err); \ exit(1); \ } \ } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|