summaryrefslogtreecommitdiffstats
path: root/pidl
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-07-28 09:23:25 +0200
committerAndreas Schneider <asn@samba.org>2010-07-28 10:39:22 +0200
commitc1e81686af605bf0dafb45c316bfca3cd1a2cf9a (patch)
tree3be49a27f077c45652d1da79a65d08ab9b05726d /pidl
parentdc87fbcb0f9a6ce1d722c62dafee540e75ba310e (diff)
downloadsamba-c1e81686af605bf0dafb45c316bfca3cd1a2cf9a.tar.gz
samba-c1e81686af605bf0dafb45c316bfca3cd1a2cf9a.tar.xz
samba-c1e81686af605bf0dafb45c316bfca3cd1a2cf9a.zip
pidl: Use struct pipes_struct.
Diffstat (limited to 'pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
index 04475d26c9c..1f6641522c8 100644
--- a/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
+++ b/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
@@ -100,7 +100,7 @@ sub CallWithStruct($$$$)
pidl "ZERO_STRUCT(r->out);" if ($hasout);
- my $proto = "_$fn->{NAME}(pipes_struct *p, struct $fn->{NAME} *r";
+ my $proto = "_$fn->{NAME}(struct pipes_struct *p, struct $fn->{NAME} *r";
my $ret = "_$fn->{NAME}($pipes_struct, r";
foreach (@{$fn->{ELEMENTS}}) {
my @dir = @{$_->{DIRECTION}};
@@ -138,7 +138,7 @@ sub ParseFunction($$)
my $op = "NDR_".uc($fn->{NAME});
- pidl "static bool api_$fn->{NAME}(pipes_struct *p)";
+ pidl "static bool api_$fn->{NAME}(struct pipes_struct *p)";
pidl "{";
indent;
pidl "const struct ndr_interface_call *call;";