added swf_DumpSWF function.
authorkramm <kramm>
Mon, 17 Nov 2003 19:59:17 +0000 (19:59 +0000)
committerkramm <kramm>
Mon, 17 Nov 2003 19:59:17 +0000 (19:59 +0000)
lib/modules/swfdump.c

index ee6f713..907df59 100644 (file)
@@ -47,6 +47,17 @@ void swf_DumpTag(FILE * f,TAG * t)
   fprintf(f,"\n");
 }
 
+void swf_DumpSWF(FILE * f, SWF*swf)
+{
+    TAG* tag = swf->firstTag;
+    fprintf(f, "vvvvvvvvvvvvvvvvvvvvv\n");
+    while(tag) {
+       printf("%8d %s\n", tag->len, swf_TagGetName(tag));
+       tag = tag->next;
+    }
+    fprintf(f, "^^^^^^^^^^^^^^^^^^^^^\n");
+}
+
 void swf_DumpFont(SWFFONT * font)
 {
     printf("ID: %d\n", font->id);