Mercurial > vba-linux
comparison src/common/memgzio.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:8ced16adf2e1 | 1:f9f4f1b99eed |
---|---|
1 #ifndef MEMGZIO_H | |
2 #define MEMGZIO_H | |
3 | |
4 /* gzio.c -- IO on .gz files | |
5 * Copyright (C) 1995-2002 Jean-loup Gailly. | |
6 * For conditions of distribution and use, see copyright notice in zlib.h | |
7 * | |
8 * Compile this file with -DNO_DEFLATE to avoid the compression code. | |
9 */ | |
10 | |
11 /* memgzio.c - IO on .gz files in memory | |
12 * Adapted from original gzio.c from zlib library by Forgotten | |
13 */ | |
14 | |
15 #include <zlib.h> | |
16 | |
17 gzFile ZEXPORT memgzopen(char *memory, int available, const char *mode); | |
18 int ZEXPORT memgzread(gzFile file, voidp buf, unsigned len); | |
19 int ZEXPORT memgzwrite(gzFile file, const voidp buf, unsigned len); | |
20 int ZEXPORT memgzclose(gzFile file); | |
21 long ZEXPORT memtell(gzFile file); | |
22 | |
23 #endif // MEMGZIO_H |