vbagx/source/vba/memgzio.h

27 lines
679 B
C
Raw Normal View History

2008-09-14 22:40:26 +02:00
/* gzio.c -- IO on .gz files
* Copyright (C) 1995-2002 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*
* Compile this file with -DNO_DEFLATE to avoid the compression code.
*/
/* memgzio.c - IO on .gz files in memory
* Adapted from original gzio.c from zlib library by Forgotten
*/
2008-09-14 23:03:59 +02:00
/*
2008-09-14 22:40:26 +02:00
#ifndef HAVE_ZUTIL_H
#include "../win32/include/zlib/zutil.h"
#else
#include <zutil.h>
#endif
2008-09-14 23:03:59 +02:00
*/
#include <zlib.h>
2008-09-14 22:40:26 +02:00
gzFile ZEXPORT memgzopen(char *memory, int, const char *);
int ZEXPORT memgzread(gzFile, voidp, unsigned);
int ZEXPORT memgzwrite(gzFile, const voidp, unsigned);
int ZEXPORT memgzclose(gzFile);
long ZEXPORT memtell(gzFile);
2008-09-14 23:03:59 +02:00