X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fgfxsource.h;fp=lib%2Fgfxsource.h;h=d73d99a18988114095bc14f8324154da1b93a901;hb=7d65cab745499277588a5ab47c336d218c7a7a31;hp=15ab936484010a2e1e11a87ec3da3d68407e2c4b;hpb=bcd63646450a9548aede2025b9c67c0da6a1e05c;p=swftools.git diff --git a/lib/gfxsource.h b/lib/gfxsource.h index 15ab936..d73d99a 100644 --- a/lib/gfxsource.h +++ b/lib/gfxsource.h @@ -33,8 +33,9 @@ struct _gfxpage; typedef struct _gfxsource { - void (*set_parameter)(const char*name, const char*value); - struct _gfxdocument* (*open)(const char*filename); + void (*set_parameter)(struct _gfxsource*src, const char*name, const char*value); + struct _gfxdocument* (*open)(struct _gfxsource*src, const char*filename); + void (*destroy)(struct _gfxsource*src); void*internal; } gfxsource_t;