Mercurial > vba-clojure
view src/common/memgzio.h @ 135:eb6ba88088d3
Wrote a more efficient input-number-assembly program; 91 oc -> 60 oc.
author | Dylan Holmes <ocsenave@gmail.com> |
---|---|
date | Sun, 18 Mar 2012 05:13:19 -0500 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #ifndef MEMGZIO_H2 #define MEMGZIO_H4 /* gzio.c -- IO on .gz files5 * Copyright (C) 1995-2002 Jean-loup Gailly.6 * For conditions of distribution and use, see copyright notice in zlib.h7 *8 * Compile this file with -DNO_DEFLATE to avoid the compression code.9 */11 /* memgzio.c - IO on .gz files in memory12 * Adapted from original gzio.c from zlib library by Forgotten13 */15 #include <zlib.h>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);23 #endif // MEMGZIO_H