X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fbitio.h;h=e79bea17123f45aecdc32b3c0d80a03043609357;hb=7e0ffeacc5c5976d85488d5bc39e512db39936b3;hp=beced62df1337aeec642df38250cdb155f2b3576;hpb=b89cdb28e751ded1c1b4b1096f602e1a8011d9a1;p=swftools.git diff --git a/lib/bitio.h b/lib/bitio.h index beced62..e79bea1 100644 --- a/lib/bitio.h +++ b/lib/bitio.h @@ -5,7 +5,8 @@ Copyright (c) 2001 Matthias Kramm - This file is distributed under the GPL, see file COPYING for details */#include + This file is distributed under the GPL, see file COPYING for details */ +#include #ifndef __rfxswf_bitio_h__ #define __rfxswf_bitio_h__ @@ -16,6 +17,7 @@ #define WRITER_TYPE_FILE 0 #define WRITER_TYPE_MEM 1 #define WRITER_TYPE_ZLIB 2 +#define WRITER_TYPE_NULL 3 struct reader_t { @@ -55,7 +57,9 @@ void reader_init_zlibinflate(struct reader_t*r, struct reader_t*input); void reader_init_memreader(struct reader_t*r, void*data, int length); void writer_init_filewriter(struct writer_t*w, int handle); +void writer_init_filewriter2(struct writer_t*w, char*filename); void writer_init_zlibdeflate(struct writer_t*w, struct writer_t*output); void writer_init_memwriter(struct writer_t*r, void*data, int length); +void writer_init_nullwriter(struct writer_t*w); #endif //__rfxswf_bitio_h__