summaryrefslogtreecommitdiff
path: root/apps/samxml.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2005-05-24 08:06:42 +0200
committerTor Andersson <tor@ghostscript.com>2005-05-24 08:06:42 +0200
commit5d192ce275815e6f3eb8eb1015b02612180a8e56 (patch)
tree713c49b9b4ab4ff77e8795ee8e6f969d2d9aab75 /apps/samxml.c
parent04334c84b883840ec8bbe62d48e57df5f6408ca7 (diff)
downloadmupdf-5d192ce275815e6f3eb8eb1015b02612180a8e56.tar.xz
metro packages and parts
Diffstat (limited to 'apps/samxml.c')
-rw-r--r--apps/samxml.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/apps/samxml.c b/apps/samxml.c
deleted file mode 100644
index c42d8036..00000000
--- a/apps/samxml.c
+++ /dev/null
@@ -1,28 +0,0 @@
-#include "fitz.h"
-#include "samus.h"
-
-int main(int argc, char **argv)
-{
- fz_error *error;
- fz_file *file;
- sa_xmlparser *parser;
- sa_xmlitem *item;
-
- error = fz_openfile(&file, argv[1], FZ_READ);
- if (error)
- fz_abort(error);
-
- error = sa_openxml(&parser, file, 0);
- if (error)
- fz_abort(error);
-
- item = sa_xmlnext(parser);
- if (item)
- sa_debugxml(item, 0);
-
- sa_closexml(parser);
- fz_closefile(file);
-
- return 0;
-}
-