summaryrefslogtreecommitdiff
path: root/source4/build/pidl/header.pm
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-23 13:44:19 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-23 13:44:19 +0000
commit3d0e6b3835379d545189563ce25ffe37ed340703 (patch)
tree6941a15bff5d7132879907999bdd4ce5938c5b2a /source4/build/pidl/header.pm
parent66694c571f2fbefda4cb70d944497bd9a9d45a7c (diff)
downloadsamba-3d0e6b3835379d545189563ce25ffe37ed340703.tar.gz
samba-3d0e6b3835379d545189563ce25ffe37ed340703.tar.bz2
samba-3d0e6b3835379d545189563ce25ffe37ed340703.zip
added a tool called 'ndrdump' that allows you to dump NDR data
according to the current IDL taking the data from a file. In combination with a little hack to ethereal to extract data this is a quite powerful IDL development tool. (This used to be commit 229a325c3cf0d4dc1e910ed32e1d7391040aeba1)
Diffstat (limited to 'source4/build/pidl/header.pm')
-rw-r--r--source4/build/pidl/header.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/build/pidl/header.pm b/source4/build/pidl/header.pm
index d6584a05ad..5a75e4c9b4 100644
--- a/source4/build/pidl/header.pm
+++ b/source4/build/pidl/header.pm
@@ -240,6 +240,8 @@ sub HeaderInterface($)
$res .= "#define DCERPC_$name\_NAME \"$interface->{NAME}\"\n\n";
}
+ $res .= "extern struct dcerpc_interface_table dcerpc_table_$interface->{NAME};\n\n";
+
foreach my $d (@{$data}) {
if ($d->{TYPE} eq "FUNCTION") {
my $u_name = uc $d->{NAME};