summaryrefslogtreecommitdiff
path: root/source4/pidl/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-16 12:43:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:29 -0500
commit4f1c8daa36a7a0372c5fd9eab51f3c16ee81c49d (patch)
tree939bf68e14b246f77ffad69a5a3329b4fd4c4c33 /source4/pidl/lib
parentbc8eb1e6e56dfd2188408f09af0ef62db65d1197 (diff)
downloadsamba-4f1c8daa36a7a0372c5fd9eab51f3c16ee81c49d.tar.gz
samba-4f1c8daa36a7a0372c5fd9eab51f3c16ee81c49d.tar.bz2
samba-4f1c8daa36a7a0372c5fd9eab51f3c16ee81c49d.zip
r14470: Remove some unnecessary headers.
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
Diffstat (limited to 'source4/pidl/lib')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
index 0f3a86e81e..d52dc12ec3 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
@@ -70,6 +70,10 @@ sub ParseInterface($)
$res_hdr .= "#ifndef _HEADER_RPC_$interface->{NAME}\n";
$res_hdr .= "#define _HEADER_RPC_$interface->{NAME}\n\n";
+ if (defined $interface->{PROPERTIES}->{uuid}) {
+ $res_hdr .= "extern const struct dcerpc_interface_table dcerpc_table_$interface->{NAME};\n";
+ }
+
$res .= "/* $interface->{NAME} - client functions generated by pidl */\n\n";
foreach my $fn (@{$interface->{FUNCTIONS}}) {