summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Samba4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-14 00:12:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:14 -0500
commit9865048bf41acff37d021a0773347d36bcac3798 (patch)
tree1e40452cd7124806c75e8edbbea72d72eb7c14eb /source4/pidl/lib/Parse/Pidl/Samba4
parent2b06074b2561ba60d680655149dcfc8b12517976 (diff)
downloadsamba-9865048bf41acff37d021a0773347d36bcac3798.tar.gz
samba-9865048bf41acff37d021a0773347d36bcac3798.tar.bz2
samba-9865048bf41acff37d021a0773347d36bcac3798.zip
r14361: Support 'helper' attribute in pidl and use it.
Remove some headers from include/includes.h (they're now only included in the file they are used) (This used to be commit 7213b7498eacac2c2cd03cf6aace376ce153cc7c)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Samba4')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index e89ce3268a..0b2cef54b8 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -2244,6 +2244,12 @@ sub HeaderInterface($)
}
}
+ if (defined $interface->{PROPERTIES}->{helper}) {
+ foreach (split / /, $interface->{PROPERTIES}->{helper}) {
+ pidl_hdr "#include $_";
+ }
+ }
+
if (defined $interface->{PROPERTIES}->{uuid}) {
my $name = uc $interface->{NAME};
pidl_hdr "#define DCERPC_$name\_UUID " .