summaryrefslogtreecommitdiff
path: root/source4/build/pidl/header.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-11-01 21:10:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:11 -0500
commit9f14afa12c11d02a49f4f310c3f8d834ce8a835d (patch)
tree7d87a19e9ec61e31584a7d903bed974e2d73770a /source4/build/pidl/header.pm
parent652b8b34f8b326f79771b03e039cfa3c6ba3427e (diff)
downloadsamba-9f14afa12c11d02a49f4f310c3f8d834ce8a835d.tar.gz
samba-9f14afa12c11d02a49f4f310c3f8d834ce8a835d.tar.bz2
samba-9f14afa12c11d02a49f4f310c3f8d834ce8a835d.zip
r3442: Add support for the "call_as" and "local" attributes.
(This used to be commit 8e25117103b0339441bc6328176ed34034005528)
Diffstat (limited to 'source4/build/pidl/header.pm')
-rw-r--r--source4/build/pidl/header.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/build/pidl/header.pm b/source4/build/pidl/header.pm
index cc14942f0c..ac0f0f8f11 100644
--- a/source4/build/pidl/header.pm
+++ b/source4/build/pidl/header.pm
@@ -302,6 +302,9 @@ sub HeaderFnProto($)
{
my $fn = shift;
my $name = $fn->{NAME};
+
+ return if (util::has_property($fn, "call_as") );
+
$res .= "void ndr_print_$name(struct ndr_print *, const char *, int, struct $name *);\n";
$res .= "struct rpc_request *dcerpc_$name\_send(struct dcerpc_pipe *, TALLOC_CTX *, struct $name *);\n";
$res .= "NTSTATUS dcerpc_$name(struct dcerpc_pipe *, TALLOC_CTX *, struct $name *);\n";