annotate src/common/memgzio.h @ 37:9eae224b8056
recording-sans-reset
reseting the movie does not appear to work
author |
Robert McIntyre <rlm@mit.edu> |
date |
Mon, 05 Mar 2012 14:51:43 -0600 |
parents |
f9f4f1b99eed |
children |
|
rev |
line source |
rlm@1
|
1 #ifndef MEMGZIO_H
|
rlm@1
|
2 #define MEMGZIO_H
|
rlm@1
|
3
|
rlm@1
|
4 /* gzio.c -- IO on .gz files
|
rlm@1
|
5 * Copyright (C) 1995-2002 Jean-loup Gailly.
|
rlm@1
|
6 * For conditions of distribution and use, see copyright notice in zlib.h
|
rlm@1
|
7 *
|
rlm@1
|
8 * Compile this file with -DNO_DEFLATE to avoid the compression code.
|
rlm@1
|
9 */
|
rlm@1
|
10
|
rlm@1
|
11 /* memgzio.c - IO on .gz files in memory
|
rlm@1
|
12 * Adapted from original gzio.c from zlib library by Forgotten
|
rlm@1
|
13 */
|
rlm@1
|
14
|
rlm@1
|
15 #include <zlib.h>
|
rlm@1
|
16
|
rlm@1
|
17 gzFile ZEXPORT memgzopen(char *memory, int available, const char *mode);
|
rlm@1
|
18 int ZEXPORT memgzread(gzFile file, voidp buf, unsigned len);
|
rlm@1
|
19 int ZEXPORT memgzwrite(gzFile file, const voidp buf, unsigned len);
|
rlm@1
|
20 int ZEXPORT memgzclose(gzFile file);
|
rlm@1
|
21 long ZEXPORT memtell(gzFile file);
|
rlm@1
|
22
|
rlm@1
|
23 #endif // MEMGZIO_H
|