summaryrefslogtreecommitdiff
path: root/comm/OLD/reqgen.cc
blob: 648cc8307387cb90bab9157f795dec2bc9835176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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");
}