summaryrefslogtreecommitdiff
path: root/pidl/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-14 22:15:30 +0100
committerGünther Deschner <gd@samba.org>2008-11-15 00:32:55 +0100
commitcf06b75f0a0e7d0513ab1128a4d189c74097216f (patch)
tree195b1b5d3969f64e974b427eec19162ac3b4f8cd /pidl/lib
parent3c98d5bd987358b1cbeb81fa8db37b97492cf0cc (diff)
downloadsamba-cf06b75f0a0e7d0513ab1128a4d189c74097216f.tar.gz
samba-cf06b75f0a0e7d0513ab1128a4d189c74097216f.tar.bz2
samba-cf06b75f0a0e7d0513ab1128a4d189c74097216f.zip
pidl: do not generate cli_ functions for noopnum flaged functions.
Guenther
Diffstat (limited to 'pidl/lib')
-rw-r--r--pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
index 2a23fad4a7..4109ce9962 100644
--- a/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
+++ b/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
@@ -215,7 +215,10 @@ sub ParseInterface($$)
$self->pidl_hdr("#ifndef __CLI_$uif\__");
$self->pidl_hdr("#define __CLI_$uif\__");
- $self->ParseFunction($if->{NAME}, $_) foreach (@{$if->{FUNCTIONS}});
+ foreach (@{$if->{FUNCTIONS}}) {
+ next if ($_->{PROPERTIES}{noopnum});
+ $self->ParseFunction($if->{NAME}, $_);
+ }
$self->pidl_hdr("#endif /* __CLI_$uif\__ */");
}