From dba04a85c15cf13cae1e3cb1e47e586e2fabc039 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Thu, 3 Jun 2004 08:38:34 +0000 Subject: initial import --- xsd2c/main.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100755 xsd2c/main.c (limited to 'xsd2c') diff --git a/xsd2c/main.c b/xsd2c/main.c new file mode 100755 index 0000000..6e866c6 --- /dev/null +++ b/xsd2c/main.c @@ -0,0 +1,62 @@ +#include "xsd2c.h" +#include "formatter.h" + +#include + + +void usage(const char* execName); + +int main(int argc, char *argv[]) +{ + int i; + char outDir[1054]; + xmlNodePtr xsdNode = NULL; + char fname[255]; + int wsdl = 0; + + if (argc < 2) { + usage(argv[0]); + return 1; + } + + + strcpy(outDir, "."); + + for (i=1;idoc); + + return 0; +} + + + +void usage(const char* execName) +{ + printf("usage: %s [-d -S -D] \n", execName); +} + + -- cgit v1.1-32-gdbae