summaryrefslogtreecommitdiff
path: root/comm/OLD/reqgen.cc
diff options
context:
space:
mode:
authorchatty1993-04-07 11:50:31 +0000
committerchatty1993-04-07 11:50:31 +0000
commitba066c34dde204aa192d03a23a81356374d93731 (patch)
tree39391f6235d2cf8a59a0634ac5ea430cdd21f5d4 /comm/OLD/reqgen.cc
parent05ab076e1c2a9ca16472f9a6b47b8d22914b3783 (diff)
downloadivy-league-ba066c34dde204aa192d03a23a81356374d93731.zip
ivy-league-ba066c34dde204aa192d03a23a81356374d93731.tar.gz
ivy-league-ba066c34dde204aa192d03a23a81356374d93731.tar.bz2
ivy-league-ba066c34dde204aa192d03a23a81356374d93731.tar.xz
Initial revision
Diffstat (limited to 'comm/OLD/reqgen.cc')
-rw-r--r--comm/OLD/reqgen.cc34
1 files changed, 34 insertions, 0 deletions
diff --git a/comm/OLD/reqgen.cc b/comm/OLD/reqgen.cc
new file mode 100644
index 0000000..648cc83
--- /dev/null
+++ b/comm/OLD/reqgen.cc
@@ -0,0 +1,34 @@
+/*
+ * The Unix Channel
+ *
+ * by Michel Beaudouin-Lafon
+ *
+ * Copyright 1993
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
+ *
+ * Request management, by Stephane Chatty
+ *
+ * $Id$
+ * $CurLog$
+ */
+
+#include "ReqMgr.h"
+#include <stdio.h>
+
+static void
+usage ()
+{
+ fprintf (stderr, "usage: reqgen file\n");
+}
+
+main (int argc, const char** argv)
+{
+ if (argc !=2) {
+ usage ();
+ return 0;
+ }
+ UchReqMgr r;
+ r.Read (argv [1]);
+ r.DumpHeader ("reqgen.out.h");
+ r.DumpSource ("reqgen.out");
+} \ No newline at end of file