new parameter addspacechars
[swftools.git] / avi2swf / v2swf.h
1 /*  v2swf.h 
2     header file for v2swf.h - part of SWFTools
3
4     Copyright (C) 2003 Matthias Kramm <kramm@quiss.org>
5
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with this program; if not, write to the Free Software
18     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
19
20 #ifndef __video_h__
21 #define __video_h__
22
23 #ifdef __cplusplus
24 extern "C" {
25 #else
26 typedef unsigned char bool;
27 #endif
28
29 #include "videoreader.h"
30
31 typedef struct _v2swf_t
32 {
33     void*internal;
34 } v2swf_t;
35
36 int v2swf_init(v2swf_t*v2swf, videoreader_t * video);
37 int v2swf_read(v2swf_t*v2swf, void*buffer, int len);
38 void v2swf_setparameter(v2swf_t*v2swf, char*name, char*value);
39 void v2swf_close(v2swf_t*v2swf);
40 void v2swf_backpatch(v2swf_t*v2swf, char*filename);
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46 #endif