X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fbitio.h;h=a8dcd5cdd69f57b3e871805fe85d7aad0fcf6a22;hb=a893580230f258ff41f1f5eab2f2d257ce90359d;hp=e79bea17123f45aecdc32b3c0d80a03043609357;hpb=92773cba50562ec860e38816fac9676678530c46;p=swftools.git diff --git a/lib/bitio.h b/lib/bitio.h index e79bea1..a8dcd5c 100644 --- a/lib/bitio.h +++ b/lib/bitio.h @@ -4,8 +4,21 @@ Part of the swftools package. Copyright (c) 2001 Matthias Kramm + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - This file is distributed under the GPL, see file COPYING for details */ #include #ifndef __rfxswf_bitio_h__ @@ -13,11 +26,16 @@ #define READER_TYPE_FILE 0 #define READER_TYPE_MEM 1 -#define READER_TYPE_ZLIB 2 +#define READER_TYPE_ZLIB_U 2 +#define READER_TYPE_ZLIB_C 3 +#define READER_TYPE_ZLIB READER_TYPE_ZLIB_U + #define WRITER_TYPE_FILE 0 #define WRITER_TYPE_MEM 1 -#define WRITER_TYPE_ZLIB 2 -#define WRITER_TYPE_NULL 3 +#define WRITER_TYPE_ZLIB_C 2 +#define WRITER_TYPE_ZLIB_U 3 +#define WRITER_TYPE_NULL 4 +#define WRITER_TYPE_ZLIB WRITER_TYPE_ZLIB_C struct reader_t {