git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf06b75
)
pidl: skip generation of noopnum functions in generated s3 server.
author
Günther Deschner
<gd@samba.org>
Fri, 14 Nov 2008 22:28:07 +0000
(23:28 +0100)
committer
Günther Deschner
<gd@samba.org>
Fri, 14 Nov 2008 23:32:55 +0000
(
00:32
+0100)
Guenther
pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
index 6034fb6f160ecdef84152cc2612f3282638cd1b5..e5d8f1c1d2b8c4ae42710d59e4b47dd7949384a2 100644
(file)
--- a/
pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
+++ b/
pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
@@
-205,7
+205,11
@@
sub ParseInterface($)
pidl_hdr "#ifndef __SRV_$uif\__";
pidl_hdr "#define __SRV_$uif\__";
- ParseFunction($if, $_) foreach (@{$if->{FUNCTIONS}});
+
+ foreach (@{$if->{FUNCTIONS}}) {
+ next if ($_->{PROPERTIES}{noopnum});
+ ParseFunction($if, $_);
+ }
pidl "";
pidl "/* Tables */";
@@
-214,6
+218,7
@@
sub ParseInterface($)
indent;
foreach (@{$if->{FUNCTIONS}}) {
+ next if ($_->{PROPERTIES}{noopnum});
pidl "{\"" . uc($_->{NAME}) . "\", NDR_" . uc($_->{NAME}) . ", api_$_->{NAME}},";
}