X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Frfxswf.h;h=506f156beeb1baefc81612074dd572a937f4b28c;hp=ca8bdb3a8f5b3f4a1557e73a969285f36b4a8249;hb=f07a5d8e942486aadff722d4f7d2438f6c93d309;hpb=069e0d0d2b5f3e67ba6b08e1fcbb8a92d0b9adbd diff --git a/lib/rfxswf.h b/lib/rfxswf.h index ca8bdb3..506f156 100644 --- a/lib/rfxswf.h +++ b/lib/rfxswf.h @@ -141,6 +141,10 @@ int swf_ReadSWF(int handle,SWF * swf); // Reads SWF to memory (malloc'ed), int swf_WriteSWF(int handle,SWF * swf); // Writes SWF to file, returns length or <0 if fails int swf_WriteCGI(SWF * swf); // Outputs SWF with valid CGI header to stdout void swf_FreeTags(SWF * swf); // Frees all malloc'ed memory for swf + +// for streaming: +int swf_WriteHeader(int handle,SWF * swf); // Writes Header of swf to file +int swf_WriteTag(int handle,TAG * tag); // Writes TAG to file TAG * swf_InsertTag(TAG * after,U16 id); // updates frames, if necessary int swf_DeleteTag(TAG * t);