59 #if defined(ITKZLIB) && !defined(ITK_USE_SYSTEM_ZLIB)
80 #define znz_isnull(f) ((f) == NULL)
81 #define znzclose(f) Xznzclose(&(f))
88 znzFile znzopen(
const char *path,
const char *mode,
int use_compression);
90 znzFile znzdopen(
int fd,
const char *mode,
int use_compression);
94 size_t znzread(
void* buf,
size_t size,
size_t nmemb,
znzFile file);
96 size_t znzwrite(
const void* buf,
size_t size,
size_t nmemb,
znzFile file);
98 long znzseek(
znzFile file,
long offset,
int whence);
104 int znzputs(
const char *str,
znzFile file);
106 char * znzgets(
char* str,
int size,
znzFile file);
108 int znzputc(
int c,
znzFile file);
113 int znzprintf(
znzFile stream,
const char *format, ...);