From eaae8b6f5f21c758db90a1008e91967fcfbc3513 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 8 Jun 2004 12:33:47 +0000 Subject: r1083: Generate prototypes for structs and unions marked "public" in the idl. Delete various hacks to work around not doing this before. (This used to be commit 5c3c3d3e72d8dd5d995a5bc5b2c7d7217b7c0432) --- source4/build/pidl/pidl.pl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/build/pidl/pidl.pl') diff --git a/source4/build/pidl/pidl.pl b/source4/build/pidl/pidl.pl index 1c122932ba..cebd545297 100755 --- a/source4/build/pidl/pidl.pl +++ b/source4/build/pidl/pidl.pl @@ -146,6 +146,12 @@ sub process_file($) if ($opt_eparser) { my($parser) = dirname($output) . "/packet-dcerpc-$basename.c"; IdlEParser::Parse($pidl, $parser); + $parser = dirname($output) . "/packet-dcerpc-proto-$basename.h"; + IdlEParser::ParseHeader($pidl, $parser); + my($header) = dirname($output) . "/packet-dcerpc-proto.h"; + open(OUT, ">>$header") || die "can't open $header"; + print OUT "#include \"packet-dcerpc-proto-$basename.h\"\n"; + close(OUT); } if ($opt_diff) { -- cgit