git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added swf_DumpSWF function.
[swftools.git]
/
lib
/
modules
/
swfdump.c
diff --git
a/lib/modules/swfdump.c
b/lib/modules/swfdump.c
index
ee6f713
..
907df59
100644
(file)
--- a/
lib/modules/swfdump.c
+++ b/
lib/modules/swfdump.c
@@
-47,6
+47,17
@@
void swf_DumpTag(FILE * f,TAG * t)
fprintf(f,"\n");
}
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);
void swf_DumpFont(SWFFONT * font)
{
printf("ID: %d\n", font->id);