swfvideo.o is now compiled separately.
[swftools.git] / lib / bitio.h
index beced62..e79bea1 100644 (file)
@@ -5,7 +5,8 @@
    
    Copyright (c) 2001 Matthias Kramm <kramm@quiss.org> 
 
-   This file is distributed under the GPL, see file COPYING for details */#include <stdio.h>
+   This file is distributed under the GPL, see file COPYING for details */
+#include <stdio.h>
 
 #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__