use strict;
use Parse::Pidl qw(warning error fatal);
-use Parse::Pidl::Util qw(has_property);
+use Parse::Pidl::Util qw(has_property genpad);
use Parse::Pidl::Samba3::ServerNDR qw(CallWithStructExported);
use vars qw($VERSION);
my $op = "NDR_".uc($fn->{NAME});
my $fnprefix = "_s3_compat_$fn->{NAME}";
+ my $fn_str = "static struct tevent_req *${fnprefix}_send";
+ my $pad = genpad($fn_str);
- pidl "static struct tevent_req *${fnprefix}_send(TALLOC_CTX *mem_ctx,";
- pidl "\t\t\t\t\tstruct tevent_context *ev,";
- pidl "\t\t\t\t\tstruct dcerpc_call_handle *call,";
- pidl "\t\t\t\t\tstruct $fn->{NAME} *r)";
+ pidl "$fn_str(TALLOC_CTX *mem_ctx,";
+ pidl "$pad"."struct tevent_context *ev,";
+ pidl "$pad"."struct dcerpc_call_handle *call,";
+ pidl "$pad"."struct $fn->{NAME} *r)";
pidl "{";
indent;
pidl "struct tevent_req *req;";